File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 6666 # Tag the repository (only for main or release branches, not pull requests)
6767 - name : Tag repo
6868 if : github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
69+ env :
70+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6971 run : |
70- git config user.name "github-actions[bot] "
72+ git config user.name "GitHub Actions "
7173 git config user.email "github-actions[bot]@users.noreply.github.com"
7274 git tag ${{ steps.gitversion.outputs.semver }}
73- git push origin ${{ steps.gitversion.outputs.semver }}
75+ git push https://${GITHUB_TOKEN}@github.com/${{ github.repository }} ${{ steps.gitversion.outputs.semver }}
76+
You can’t perform that action at this time.
0 commit comments