Change workflow permissions for fork pull requests. (#1585)

Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
pull/1587/head
Jerome Luckenbach 2021-05-24 21:21:14 +02:00 committed by GitHub
parent d8aba58e85
commit 9d07cf0d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

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