From 625d865625469b48d505a43a854bb84600d9b06e Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Thu, 6 Jul 2023 10:21:16 +0300 Subject: [PATCH] ci: backport: set write permissions Signed-off-by: Stefan Prodan --- .github/workflows/backport.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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