Skip to content

Commit

Permalink
Narrow down permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik van Brakel committed Feb 6, 2024
1 parent b3304f6 commit 606c836
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [ published, edited ]

permissions:
contents: read
pull-requests: write

jobs:
test:
name: Tests
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Tests

on: [ push, pull_request_target ]

permissions:
contents: read
pull-requests: write

jobs:

test:
Expand Down

0 comments on commit 606c836

Please sign in to comment.