You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a label starting with "backport <branch>" is applied to an already merged PR
then create a new PR against <branch> where the commits are cherry picked from
the original PR using the '-x' flag to include the original git ref.
Note the pull_request_target trigger comes with a security warning[1]:
you should make sure that you do not check out, build, or run untrusted
code from the pull request with this event.
To guard against this we only run if the label is applied to an already merged
PR and not a closed, but unmerged PR.
[1] https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
0 commit comments