ci: Add PR Write permission for official PR
This commit is contained in:
parent
2c3a06f095
commit
57a7fa3bd0
|
@ -8,6 +8,8 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'nodejs'
|
if: github.repository_owner == 'nodejs'
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
|
@ -16,6 +16,8 @@ jobs:
|
||||||
pr:
|
pr:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.repository_owner == 'nodejs' && github.event.pull_request.merged_by != ''
|
if: github.repository_owner == 'nodejs' && github.event.pull_request.merged_by != ''
|
||||||
|
permissions:
|
||||||
|
pull-requests: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout the docker-node repo
|
- name: Checkout the docker-node repo
|
||||||
|
|
Loading…
Reference in New Issue