From 57a7fa3bd00ad1fe73d1a489e552c37d61d7fdae Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Thu, 3 Oct 2024 23:28:23 -0400 Subject: [PATCH] ci: Add PR Write permission for official PR --- .github/workflows/automatic-updates.yml | 2 ++ .github/workflows/official-pr.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/automatic-updates.yml b/.github/workflows/automatic-updates.yml index 80cc3226c..e157822d0 100644 --- a/.github/workflows/automatic-updates.yml +++ b/.github/workflows/automatic-updates.yml @@ -8,6 +8,8 @@ jobs: build: runs-on: ubuntu-latest if: github.repository_owner == 'nodejs' + permissions: + pull-requests: write steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/official-pr.yml b/.github/workflows/official-pr.yml index 3a577e2eb..032a2569a 100644 --- a/.github/workflows/official-pr.yml +++ b/.github/workflows/official-pr.yml @@ -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