Skip to content

Commit

Permalink
Set publish workflow permissions to read-all to fix CKV2_GHA_1: "…
Browse files Browse the repository at this point in the history
…Ensure top-level permissions are not set to write-all" linter error.
  • Loading branch information
tylermilner committed Apr 8, 2024
1 parent e156e7b commit dd52c4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
release:
types: [published, edited]

permissions: read-all

jobs:
publish:
runs-on: ubuntu-latest
Expand Down

0 comments on commit dd52c4e

Please sign in to comment.