-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add PR label action #1796
Add PR label action #1796
Conversation
f548551
to
a1dd559
Compare
9ebdd95
to
cd2ccb2
Compare
cd2ccb2
to
a00ef41
Compare
dfe1e63
to
d0262f0
Compare
0d88543
to
792f65f
Compare
792f65f
to
2965750
Compare
- uses: actions/checkout@v4 | ||
- name: Check for Pull Request Labels | ||
run: | | ||
REQUIRED_LABELS=("documentation" "bugfix" "chore" "enhancement" "ignore-for-release" "security" "sorbet") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the labels will now be required, I wonder if we're missing another category. For example, would a refactor fit into chore
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd been using chore for refactors and most other non-user visible changes, yeah. Open to better suggestions, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay. Honestly, that sounds good, I was just wondering. IMO, ship it and we'll identify if any categories are missing as we open PRs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay! I like Vini's comment about moving the shell
key into a more visible location.
2965750
to
221764f
Compare
Motivation
Fix #1434
Implementation
We couldn't use a reusable action in #1435, but I realized that we can put together a quick action based on a bash script and some
gh
wizardry.Tests
No tests