Fix GHA backport.yaml workflow job perms
Fixing backport workflow permissions. Signed-off-by: Aurel Canciu <aurelcanciu@gmail.com>
This commit is contained in:
parent
31101f04c3
commit
02c74b0d37
|
@ -10,6 +10,9 @@ permissions:
|
|||
jobs:
|
||||
pull-request:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
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 New Issue