Skip to content

Commit

Permalink
refactor(ci): use variables on commiter name & email (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
nogic1008 committed May 5, 2024
1 parent afaaded commit cff7b0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Expand Up @@ -185,8 +185,8 @@ jobs:
- name: Commit and Push
continue-on-error: true
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git config user.name ${{ vars.GH_ACTIONS_COMMIT_NAME }}
git config user.email ${{ vars.GH_ACTIONS_COMMIT_EMAIL }}
git add .
git commit -m "build: deploy via ${{ github.sha }}"
git push
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Push Git Tag (Major, Minor)
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git config user.name ${{ vars.GH_ACTIONS_COMMIT_NAME }}
git config user.email ${{ vars.GH_ACTIONS_COMMIT_EMAIL }}
git tag ${{ steps.version.outputs.major }}
git tag ${{ steps.version.outputs.major }}.${{ steps.version.outputs.minor }}
git push --tags --force

0 comments on commit cff7b0e

Please sign in to comment.