Change workflow permissions for fork pull requests. (#1585)
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>pull/1587/head
parent
d8aba58e85
commit
9d07cf0d35
|
@ -2,13 +2,11 @@ name: Cherry pick automation
|
|||
# Automatically create pull requests to release branches on condition
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
branches:
|
||||
- main
|
||||
types: ["closed"]
|
||||
|
||||
permissions: write-all
|
||||
|
||||
jobs:
|
||||
cherry_pick_release_stable:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue