Skip to content

Commit

Permalink
Fix token permissions (#886)
Browse files Browse the repository at this point in the history
Use `read-all` at the top level. Not sure if we actually need anything more
somewhere, but I guess this is one way to find out.

Signed-off-by: Anders Eknert <[email protected]>
  • Loading branch information
anderseknert committed Jul 2, 2024
1 parent 6b6ffc4 commit a4c96a4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ on:
pull_request:
workflow_dispatch:

permissions: read-all

jobs:
build-matrix:
env:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/push-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
tags:
- v[0-9].**

permissions: read-all

jobs:
goreleaser:
name: GoReleaser
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/update-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- v[0-9].**
workflow_dispatch:

permissions: read-all

jobs:
update-docs:
name: Update Docs
Expand Down

0 comments on commit a4c96a4

Please sign in to comment.