dev: update add permissions to the action (#2337)
This commit is contained in:
parent
c96960955b
commit
de33e6775f
1 changed files with 3 additions and 0 deletions
3
.github/workflows/create-sync-pr.yml
vendored
3
.github/workflows/create-sync-pr.yml
vendored
|
|
@ -10,6 +10,9 @@ jobs:
|
||||||
# Only run the job when a PR is merged
|
# Only run the job when a PR is merged
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
contents: read
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue