Skip to content

Commit

Permalink
Configure Git user for automated release tagging in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
navjottomer committed Jan 22, 2025
1 parent 0ca891c commit 8fa26f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
- name: Create Release Tag
if: ${{ env.TAG_EXISTS == 'false' }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git tag -a "${OSCLASS_VERSION}" -m "Release ${OSCLASS_VERSION}"
git push origin "${OSCLASS_VERSION}"
Expand Down

0 comments on commit 8fa26f1

Please sign in to comment.