-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Run check bot on labeling PR with bot:check
#1492
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
Run check bot on labeling PR with bot:check
#1492
Conversation
You can now run the check-bot by labeling a PR with 'feature:icon'
lunatic-fox
left a comment
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.
Loved it! 🤩
To me it's approved! ✔
|
@lunatic-fox this is actually a PR I forgot to edit 😅 |
|
Hmm... I think the workflow needs to trigger in two events:
Then if the "created" label is, for instance, |
|
@lunatic-fox I changed the label... ready for review again now :)
It already automatically runs on new PR's, provided that the PR title starts with |
bot:check
|
I tested it in a private repo, simulating the #1558 PR with the proper label What happens
My guess is since "Peek Icons" is more specific, because it's label triggered, runs first than "Check Icon PR", locking the target workflow. |
Panquesito7
left a comment
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.
Looks good 🚀 apart from what @lunatic-fox mentioned.
|
@lunatic-fox I didn't understand that explanation fully, but if it's an easy fix, feel free to fix it. If you want me to fix it I'm afraid I'll need to be spoon fed the explanation again :S |
|
Ping. |
|
@lunatic-fox You mentioned an easy fix here, but I'm not sure what you mean the issue is. Do you mind fixing it? |
|
or should I just merge it as-is? |
|
Has not been updated in a while, closing, but it can be reopened. |
Double check these details before you open a PR
Features
This PR closes NONE
Didn't create an issue for this since it was quicker to just implement it
Notes
You can now run the
check-botby adding thebot:checklabel to a PR. This is powerful, since it lets us get new PR info (like the title) as input tocheck-botwithout creating a new PR. So instead of creating a new PR everytime we fix something, we can instead re-add thebot:checklabel to re-run it with new parameters :)PS: https://github.com/devicons/devicon/wiki/Our-automated-tasks-and-bots#check-bot needs to be updated with info on how to run the check bot after this PR is merged into master