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