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 900f574
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
name: Publish

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 900f574

Please sign in to comment.