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 6cbe730 commit 590c801
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 @@ -6,6 +6,10 @@ on:
release:
types: [ published ]

permissions:
contents: read
pull-requests: read

jobs:
build:
name: Build and Test
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 @@ -5,6 +5,9 @@ name: Tests

on: [ push, pull_request ]

permissions:
contents: read
pull-requests: read

jobs:
build:
Expand Down

0 comments on commit 590c801

Please sign in to comment.