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 75337a1 commit 13e8d9f
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/[email protected]
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/[email protected]
id: dependabot-metadata
Expand Down

0 comments on commit 13e8d9f

Please sign in to comment.