We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f9eb3 commit 71fc029Copy full SHA for 71fc029
1 file changed
.github/workflows/tag-release.yml
@@ -47,6 +47,7 @@ jobs:
47
48
- name: Create tag if missing
49
env:
50
+ PUSH_TOKEN: ${{ secrets.RELEASE_PLEASE_TOKEN || github.token }}
51
TARGET_SHA: ${{ github.event.inputs.sha || github.event.pull_request.merge_commit_sha || github.sha }}
52
run: |
53
tag="v${{ steps.version.outputs.version }}"
@@ -59,5 +60,6 @@ jobs:
59
60
61
git config user.name "github-actions[bot]"
62
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
63
+ git remote set-url origin "https://x-access-token:${PUSH_TOKEN}@github.com/${{ github.repository }}.git"
64
git tag "$tag" "$TARGET_SHA"
65
git push origin "$tag"
0 commit comments