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

ci: basic pr auto labeler #55736

Merged
merged 2 commits into from
Mar 4, 2022
Merged

Conversation

casswedson
Copy link
Contributor

Summary

None

Purpose of change

Intended to automate what is otherwise a boring task for
maintainers, this uses basic glob matching to apply labels to prs

Not finished it's just the basics to get this boy rolling, it needs more
patters, probably the company of a smarter workflow based on something
else, maybe some colors, cover all mods (I'll let you do that mod
maintainers ;))

No idea if this will use the existing labels, it didn't in my repo, colors and descriptions would be nice
Contributes to #55729

Describe the solution

Describe alternatives you've considered

Testing

Made a pr modifying all the patters this thing recognizes, and it did the thing
casswedson#4
Screenshot from 2022-02-27 18-27-02

Additional context

@github-actions github-actions bot added json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions labels Feb 28, 2022
@Maleclypse Maleclypse added Code: Tooling Tooling that is not part of the main game but is part of the repo. Organization General development organization issues labels Feb 28, 2022
@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label Feb 28, 2022
ci: basic pr auto labeler

Intended to automate what is otherwise a boring task for
maintainers, this uses basic glob matching to apply labels to prs

Not finished it's just the basics to get this boy rolling, it needs more
patters, probably the company of a smarter workflow based on something
else, maybe some colors, cover all mods (I'll let you do that mod
maintainers ;))

Contributes to CleverRaven#55729
more general is better in this case, select major categories based on
file extensions
@kevingranade kevingranade merged commit 8d56919 into CleverRaven:master Mar 4, 2022
@Maleclypse
Copy link
Member

Hey @casswedson did you have to do anything else in regards to this for it to work or should this have been modified to use CleverRaven secrets? I saw that @PatrikLundell received an email that the autotagger had failed if I read his PR correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions Code: Tooling Tooling that is not part of the main game but is part of the repo. json-styled JSON lint passed, label assigned by github actions Organization General development organization issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants