Skip to content

Commit

Permalink
fix label_pattern usage
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang authored Jan 15, 2025
1 parent f64aa34 commit 0ddc15c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ jobs:
backport:
name: Backport pull request
if: ${{ github.repository_owner == 'nvidia' &&
github.event.pull_request.merged == true
github.event.pull_request.merged == true &&
contains( github.event.pull_request.labels.*.name, 'to-be-backported')
}}
runs-on: ubuntu-latest
steps:
Expand All @@ -32,5 +33,4 @@ jobs:
copy_assignees: true
copy_labels_pattern: true
copy_requested_reviewers: true
label_pattern: to-be-backported
target_branches: ${{ env.OLD_BRANCH }}

0 comments on commit 0ddc15c

Please sign in to comment.