Skip to content

Commit

Permalink
ci: Fix permissions for external contributors PRs (for real?) (#12776)
Browse files Browse the repository at this point in the history
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!
  • Loading branch information
mydea committed Jul 5, 2024
1 parent f4e7203 commit 55a5cef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/external-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ on:
jobs:
external_contributor:
name: External Contributors
permissions:
pull-requests: write
contents: write
runs-on: ubuntu-20.04
if: |
github.event.pull_request.merged == true &&
github.event.pull_request.author_association != 'COLLABORATOR'
&& github.event.pull_request.author_association != 'MEMBER'
&& github.event.pull_request.author_association != 'OWNER'
Expand Down

0 comments on commit 55a5cef

Please sign in to comment.