Merge pull request #4046 from fluxcd/fix-backport

ci: backport: set write permissions
This commit is contained in:
Hidde Beydals 2023-07-06 09:35:23 +02:00 committed by GitHub
commit d9c7ff8685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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