mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
Merge pull request #4046 from fluxcd/fix-backport
ci: backport: set write permissions
This commit is contained in:
commit
d9c7ff8685
1 changed files with 2 additions and 1 deletions
3
.github/workflows/backport.yaml
vendored
3
.github/workflows/backport.yaml
vendored
|
|
@ -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…
Reference in a new issue