Skip to content

Commit

Permalink
ci: Add PR Write permission for official PR
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Oct 4, 2024
1 parent 2c3a06f commit 57a7fa3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/automatic-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
build:
runs-on: ubuntu-latest
if: github.repository_owner == 'nodejs'
permissions:
pull-requests: write

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/official-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57a7fa3

Please sign in to comment.