-
Notifications
You must be signed in to change notification settings - Fork 86
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
update backport branch name #837
Conversation
Signed-off-by: Hailong Cui <ihailong@amazon.com>
Codecov Report
@@ Coverage Diff @@
## main #837 +/- ##
==========================================
- Coverage 63.37% 63.36% -0.01%
==========================================
Files 341 341
Lines 11545 11553 +8
Branches 2108 2112 +4
==========================================
+ Hits 7317 7321 +4
- Misses 3654 3658 +4
Partials 574 574 |
if: > | ||
github.event.pull_request.merged | ||
&& ( | ||
github.event.action == 'closed' | ||
|| ( | ||
github.event.action == 'labeled' | ||
&& contains(github.event.label.name, 'backport') | ||
) | ||
) |
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.
Curious why adding these part now?
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.
Add this condition will only react to merged PRs for security reasons. see more https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
here is the example VachaShah/backport@fb9853c#diff-1b2ad8b0da1ad4fac7eb4ef8cdeed82b48d00a80eb531a6f31db11f73182f491R12
Description
update backport branch name as
branch_name
was deprecatedIssues Resolved
follow up changes for #821
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.