Skip to content

Commit

Permalink
fix github token (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: Facundo Santillo Alarcon <facundo.santillo@wolterskluwers.com>
  • Loading branch information
facusantillo and Facundo Santillo Alarcon authored Oct 27, 2024
1 parent d3e6096 commit 0ab9449
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,11 @@ jobs:
# Tag the repository (only for main or release branches, not pull requests)
- name: Tag repo
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/'))
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config user.name "github-actions[bot]"
git config user.name "GitHub Actions"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag ${{ steps.gitversion.outputs.semver }}
git push origin ${{ steps.gitversion.outputs.semver }}
git push https://${GITHUB_TOKEN}@github.com/${{ github.repository }} ${{ steps.gitversion.outputs.semver }}

0 comments on commit 0ab9449

Please sign in to comment.