Skip to content

Commit

Permalink
ci: fix perms errors
Browse files Browse the repository at this point in the history
  • Loading branch information
fredleger committed Feb 20, 2024
1 parent 17f63d8 commit 6783e89
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,10 @@ jobs:
ci:
name: Continuous Integration
uses: ./.github/workflows/__shared-ci.yml
permissions:
contents: read
id-token: write
issues: read
packages: write
pull-requests: read
secrets: inherit
6 changes: 6 additions & 0 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,10 @@ jobs:
ci:
name: Continuous Integration
uses: ./.github/workflows/__shared-ci.yml
permissions:
contents: read
id-token: write
issues: read
packages: write
pull-requests: read
secrets: inherit
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ jobs:
needs: check-branches
name: Continuous Integration
uses: ./.github/workflows/__shared-ci.yml
permissions:
contents: read
id-token: write
issues: read
packages: write
pull-requests: read

update_release_draft:
# we want to publish a new tag only if ci succeeds
Expand Down

0 comments on commit 6783e89

Please sign in to comment.