Skip to content

Commit 55a5cef

Browse files
authored
ci: Fix permissions for external contributors PRs (for real?) (#12776)
Another day, another try to fix this! Now it failed like this https://github.com/getsentry/sentry-javascript/actions/runs/9804811101/job/27073251966, hopefully this change fixes this... we'll see!
1 parent f4e7203 commit 55a5cef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/external-contributors.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@ on:
99
jobs:
1010
external_contributor:
1111
name: External Contributors
12+
permissions:
13+
pull-requests: write
14+
contents: write
1215
runs-on: ubuntu-20.04
1316
if: |
17+
github.event.pull_request.merged == true &&
1418
github.event.pull_request.author_association != 'COLLABORATOR'
1519
&& github.event.pull_request.author_association != 'MEMBER'
1620
&& github.event.pull_request.author_association != 'OWNER'

0 commit comments

Comments
 (0)