Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/create-tag-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'GitHub Actions Bot'
git config --global user.email 'actions@github.com'
Comment on lines +99 to +100
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Maintainability - Global Git Config: Remove the --global flag from both git config commands to use local repository configuration instead, which is more appropriate for GitHub Actions workflows.

Suggested change
git config --global user.name 'GitHub Actions Bot'
git config --global user.email 'actions@github.com'
git config user.name 'GitHub Actions Bot'
git config user.email 'actions@github.com'

git checkout v2-lite
git checkout $NEW_TAG package.json package-lock.json dist/
git add package.json package-lock.json dist/
Expand Down