Skip to content

Commit

Permalink
fix(ci): permissions (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
igas authored Jan 31, 2025
1 parent d49419a commit d78c8f1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
credo:
runs-on: ubuntu-24.04
permissions:
contents: read
security-events: write
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
test:
uses: ./.github/workflows/ci.yaml
permissions:
contents: write
contents: read
security-events: write

release:
needs: test
Expand Down

0 comments on commit d78c8f1

Please sign in to comment.