Skip to content

Commit

Permalink
chore: update backport bot
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Sep 6, 2024
1 parent 3db6bfa commit 9c696dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@ name: Automatic backport action

on:
pull_request_target:
types: ["closed"]
types: ["closed", "labeled"]

permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests

jobs:
backport:
name: Backport PR
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 9c696dd

Please sign in to comment.