ci: backport: set write permissions

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
(cherry picked from commit 625d865625)
pull/4047/head
Stefan Prodan 2 years ago committed by github-actions[bot]
parent 6cd7722539
commit 6b3580e16c

@ -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

Loading…
Cancel
Save