Add `hackergarten` label to all issues automatically
McPringle opened this issue · 8 comments
The hackergarten
label is used to determine all issues on GitHub, that can be done at a Hackergarten event. These issues are displayed on the hackergarten website. In my opinion, all issues of the hackergarten website could be solved at a hackergarten.
Here an example to create a webhook:
https://developer.github.com/webhooks/creating/
How to use it on an issue
https://github.community/t5/How-to-use-Git-and-GitHub/Apply-labels-automatically-at-issue-creation/td-p/10719
We created a GitHub App which adds the label hackergarten
to every new issue. The code is hosted on glitch:
https://glitch.com/edit/#!/tame-authorization
The app is available here on GitHub: https://github.com/apps/hackergarten-labeler
Once you add the app to your repository, any issue is marked hackergarten
.
@aalmiray @sclassen What do you think about adding the hackergarten-labeler application to this repository?
It's been 4 years since this issue was created 😱
Does the app still work? Any security issues we should take care of first?
@aalmiray I don't see any issues. This is a GitHub action that is called on opening new issues and uses the GitHub REST API to set the hackergarten
label on that issue. The action is based on the latest Ubuntu container, runs only for a few milliseconds, and does not consume any data (so no possibility to inject something).
@romixch, do you have to add something?
@McPringle are you referring to my PR (#366) or to hackergarten-labeler?
I was looking at the hackergarten-labeler's code and it doesn't appear to be based on GitHub Actions.