Skip to content

Commit

Permalink
[Tool] Backport notification support prs with conflict label (backp…
Browse files Browse the repository at this point in the history
…ort #34765) (#34775)
  • Loading branch information
mergify[bot] committed Nov 10, 2023
1 parent 8b615d5 commit 6011ea9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-backport-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ run-name: BACKPORT NOTIFICATION - (#${{ github.event.number }}[${{ github.head_r
on:
pull_request_target:
branches:
- 'mergify/bp/*'
- 'branch-[0-9].[0-9]'
- 'branch-[0-9].[0-9].[0-9]'
types:
- closed

Expand All @@ -23,7 +24,9 @@ jobs:
if: >
github.event.pull_request.merged != true &&
contains(github.event.pull_request.title, 'backport') &&
contains(github.event.pull_request.labels.*.name, 'conflicts')
(contains(github.event.pull_request.labels.*.name, 'conflicts') ||
contains(github.event.pull_request.labels.*.name, 'conflict')) &&
startsWith(github.head_ref, 'mergify/bp')
env:
STATUS: CONFLICT

Expand Down

0 comments on commit 6011ea9

Please sign in to comment.