Skip to content

Commit

Permalink
Add the necessary permissions to the release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka committed Dec 15, 2024
1 parent e8211a7 commit 6c910ff
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ env:
node: '22'
pnpm: '9'

# Add the necessary permissions:
# - contents: write
# - id-token: write for the publish-backend-deno job (JSR publishing)
permissions:
contents: write
id-token: write

jobs:
####################
### backend-deno ###
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ env:
node: '22'
pnpm: '9'

# Add the necessary permissions:
# - contents: write
# - id-token: write for the publish-backend-deno job (JSR publishing)
permissions:
contents: write
id-token: write

jobs:
####################
### backend-deno ###
Expand Down

0 comments on commit 6c910ff

Please sign in to comment.