Skip to content

Commit 562e2d6

Browse files
committed
Added permissions: contents: write to the release job so action-gh-release can create releases.
1 parent eb15cc9 commit 562e2d6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎.github/workflows/maven.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,12 @@ jobs:
104104

105105
- name: Tag frontend repository with release version
106106
working-directory: wisemapping-frontend
107+
env:
108+
FRONTEND_TOKEN: ${{ secrets.WISEMAPPING_FRONTEND_TOKEN }}
107109
run: |
108110
git config user.name "github-actions[bot]"
109111
git config user.email "github-actions[bot]@users.noreply.github.com"
112+
git remote set-url origin https://x-access-token:${FRONTEND_TOKEN}@github.com/wisemapping/wisemapping-frontend.git
110113
git tag ${{ github.event.inputs.tag }}
111114
git push origin ${{ github.event.inputs.tag }}
112115

0 commit comments

Comments
 (0)