Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New module: GitHub API #124

Open
applejag opened this issue Dec 16, 2023 · 5 comments
Open

New module: GitHub API #124

applejag opened this issue Dec 16, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@applejag
Copy link
Contributor

applejag commented Dec 16, 2023

Using Risor could be a nice contestant to using Bash in GH Actions.

Not talking about releasing to GitHub, but instead to use the go-github package: https://pkg.go.dev/github.com/google/go-github/v57/github

It's such a huge package that not everything needs to be there. But common tasks used in GH actions, like:

All of this is already doable, but having them wrapped in easy-to-use first-class module would be nice.

Alternatively, this could also be a third-party module you'll have to import. What's the decision like for what goes into the "standard library" and what not?

Edit: I first now saw that you're making use of GitHub discussions, so maybe I should've written that there. Will use it for future ideas and questions

@myzie
Copy link
Collaborator

myzie commented Dec 17, 2023

Yeah, something along these lines has crossed my mind too. I'm 100% onboard with some form of wrapping the go-github client. And agree that use in GH actions would make a lot of sense.

@applejag
Copy link
Contributor Author

I would really like to attempt adding this, but I'm off on holiday until next year.

OK if I call dibs on it? :)

@myzie
Copy link
Collaborator

myzie commented Dec 20, 2023

Of course 😄 you’ve got dibs!

@applejag applejag changed the title GtiHub module (to access GH API from GH Action) GitHub module (to access GH API from GH Action) Jan 20, 2024
@myzie
Copy link
Collaborator

myzie commented Feb 19, 2024

Hi @applejag, now that the github actions module is in place, what do you think this issue should cover?

@applejag
Copy link
Contributor Author

I'd like to try completing basically everything on that list on the issue. My intention was to do it iteratively, to not have a too huge of a PR.

Time has been limited recently, so I lost my flow.

But I still want to continue on this.

@myzie myzie added the enhancement New feature or request label Feb 29, 2024
@myzie myzie changed the title GitHub module (to access GH API from GH Action) New module: GitHub Feb 29, 2024
@myzie myzie changed the title New module: GitHub New module: GitHub API Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants