Skip to content

Commit bf35216

Browse files
friggeriCopilot
andauthored
Update .github/workflows/publish.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 13d212e commit bf35216

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ jobs:
215215
TAG_NAME="go/v${{ needs.version.outputs.version }}"
216216
# Try to create the tag - will fail if it already exists
217217
if git tag "$TAG_NAME" ${{ github.sha }} 2>/dev/null; then
218-
git push origin "$TAG_NAME"
218+
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git "$TAG_NAME"
219219
echo "Created and pushed tag $TAG_NAME"
220220
else
221221
echo "Tag $TAG_NAME already exists, skipping"

0 commit comments

Comments
 (0)