diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index 86c795d1..70f2e31e 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -8,7 +8,8 @@ jobs: pull-request: runs-on: ubuntu-latest permissions: - contents: read + contents: write + pull-requests: write if: github.event.pull_request.state == 'closed' && github.event.pull_request.merged && (github.event_name != 'labeled' || startsWith('backport:', github.event.label.name)) steps: - name: Checkout