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