Skip to content

Commit bddab59

Browse files
authored
fix workflow (#2927)
### Fixes # <!-- Mention the issues this PR addresses --> ### Checks - [ ] Ran `yarn test-build` - [ ] Updated relevant documentations - [ ] Updated matching config options in altair-static ### Changes proposed in this pull request: <!-- Describe the changes being introduced in this PR --> ## Summary by Sourcery Grant necessary GitHub Actions permissions for release workflows CI: - Add write permission for contents to the tauri publish job - Add write permissions for contents and id-token to the npm publish job <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated release workflow configuration. **Note:** This release contains no user-facing changes. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent ac84e02 commit bddab59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ env:
1313
# NODE_OPTIONS: --openssl-legacy-provider
1414

1515
permissions:
16+
contents: write
1617
id-token: write
1718

1819
# TODO: Handle browser extension release
@@ -59,6 +60,8 @@ jobs:
5960
tauri:
6061
needs: vars
6162
uses: ./.github/workflows/_publish-tauri.yml
63+
permissions:
64+
contents: write
6265
with:
6366
node_version: ${{ needs.vars.outputs.node_version }}
6467
secrets: inherit
@@ -67,6 +70,9 @@ jobs:
6770
needs: [electron, vars]
6871
# We do not need to check out the repository to use the reusable workflow
6972
uses: ./.github/workflows/_publish-npm.yml
73+
permissions:
74+
contents: write
75+
id-token: write
7076
with:
7177
node_version: ${{ needs.vars.outputs.node_version }}
7278
secrets: inherit

0 commit comments

Comments
 (0)