Skip to content

Commit 6686a93

Browse files
committed
fix(ci/cd): use token with write permissions for git tag push
1 parent da19c35 commit 6686a93

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,14 @@ jobs:
4141
runs-on: ubuntu-latest
4242
if: ${{ github.ref_name == 'main' }}
4343
needs: [ci]
44+
permissions:
45+
contents: write
46+
actions: write
4447
steps:
4548
- name: Checkout
4649
uses: actions/checkout@v5
4750
with:
51+
# we need to fetch all existing git tags
4852
fetch-depth: 0
4953

5054
- name: Create git tags and publish to Maven Central

0 commit comments

Comments
 (0)