Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(ci): use variables on commiter name & email #971

Merged
merged 1 commit into from
May 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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