Skip to content

Commit

Permalink
SONAR-23539 fix missing permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
jCOTINEAU committed Nov 6, 2024
1 parent a364b53 commit aa596de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/release-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
release:
name: Upload Release Asset
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- id: secrets
uses: SonarSource/[email protected]
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
release-9-x:
name: Upload Release Assets for 9-X releases
if: contains(github.event.release.name, '9.')
permissions:
contents: write
id-token: write
strategy:
fail-fast: false
matrix:
Expand All @@ -24,6 +27,9 @@ jobs:
release-10-x:
name: Upload Release Assets for 10-X releases
if: contains(github.event.release.name, '10.')
permissions:
contents: write
id-token: write
strategy:
fail-fast: false
matrix:
Expand All @@ -38,6 +44,9 @@ jobs:
release-community-build:
name: Upload Release Assets for community-build release
if: contains(github.event.release.name, 'Community Build')
permissions:
contents: write
id-token: write
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit aa596de

Please sign in to comment.