Skip to content

Commit 0ab9449

Browse files
facusantilloFacundo Santillo Alarcon
andauthored
fix github token (#3)
Co-authored-by: Facundo Santillo Alarcon <facundo.santillo@wolterskluwers.com>
1 parent d3e6096 commit 0ab9449

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci-pipeline.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,11 @@ jobs:
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+

0 commit comments

Comments
 (0)