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 b2e58c5 commit 8e8f185
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
release:
types: [ published ]

permissions:
contents: read
pull-requests: write

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

on: [ push, pull_request ]

permissions:
contents: read
pull-requests: write

jobs:
build:
Expand Down

0 comments on commit 8e8f185

Please sign in to comment.