-
Notifications
You must be signed in to change notification settings - Fork 28
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
feat(rulesets): add support for PR labeled events #1081
Conversation
1. Add API changes for updating repos to leverage label events 2. Process PR label events in scm package 3. Update compiler to use label value in its purging process
1. Update process PR event helper function 2. Update tests
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1081 +/- ##
==========================================
+ Coverage 61.89% 61.94% +0.05%
==========================================
Files 358 358
Lines 10885 10902 +17
==========================================
+ Hits 6737 6753 +16
- Misses 3662 3663 +1
Partials 486 486
|
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. Requesting a couple extra tests. One for WithLabel(...)
and one for processPREvent(...)
that processes a PR payload of the labeled
action type. Also it might be useful to make sure that other PR events populate the labels properly as well via a test
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.
LGTM
Description
Request for Vela to process and create builds for pull request labeled and unlabeled webhooks.
Related
GitHub issue #913
GitHub ideas #768