Skip to content

Commit

Permalink
Reduce PR job permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasWanke committed Jul 13, 2023
1 parent b1fa8f5 commit ea3470b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ jobs:
assign-author:
if: github.event.action == 'opened'
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- uses: samspills/assign-pr-to-author@v1.0.2
with:
Expand All @@ -17,8 +15,7 @@ jobs:
if: github.event.action == 'opened' && github.event.pull_request.user.login == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
pull-requests: read
steps:
- uses: dependabot/fetch-metadata@v1.6.0
id: dependabot-metadata
Expand Down

0 comments on commit ea3470b

Please sign in to comment.