ci: Add PR Write permission for official PR

This commit is contained in:
Nick Schonning 2024-10-03 23:28:23 -04:00
parent 2c3a06f095
commit 57a7fa3bd0
No known key found for this signature in database
GPG Key ID: 5DDAAD9C9AAFFD9F
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,8 @@ jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'nodejs'
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4

View File

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