ci: backport: set write permissions

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
pull/4046/head
Stefan Prodan 2 years ago
parent 00c6bd0240
commit 625d865625
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF

@ -8,7 +8,8 @@ jobs:
pull-request: pull-request:
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: 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)) if: github.event.pull_request.state == 'closed' && github.event.pull_request.merged && (github.event_name != 'labeled' || startsWith('backport:', github.event.label.name))
steps: steps:
- name: Checkout - name: Checkout

Loading…
Cancel
Save