Skip to content

Commit

Permalink
update backport bot
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Sep 4, 2024
1 parent 2d0d30a commit 5c2e51d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ on:
pull_request_target:
types: ["closed", "labeled"]

permissions:
pull-requests: write

jobs:
backport:
name: Backport PR
if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true && !(contains(github.event.pull_request.labels.*.name, 'backport'))
runs-on: ubuntu-latest
steps:
- name: Backport Action
Expand Down

0 comments on commit 5c2e51d

Please sign in to comment.