Skip to content

Commit

Permalink
chore: set permission for token in ci (openwallet-foundation#145)
Browse files Browse the repository at this point in the history
Signed-off-by: Mirko Mollik <mirko.mollik@fit.fraunhofer.de>
  • Loading branch information
cre8 authored Mar 8, 2024
1 parent f9ae804 commit 89e02ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-test-publish-on-push-cached.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,11 @@ jobs:
run: biome ci .

# Only run this job when the push is on main, next or unstable
publish:
publish:
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/next' || github.ref == 'refs/heads/unstable')
# needs permissions to write tags to the repository
permissions:
contents: write
needs:
- build
- test
Expand Down

0 comments on commit 89e02ec

Please sign in to comment.