Skip to content

Commit 377c8cc

Browse files
Copilotrajbos
andcommitted
fix: scope git configuration to local repository
- Use git config --local to ensure proper scoping - Prevents potential configuration conflicts - Follows git best practices for CI/CD environments Co-authored-by: rajbos <6085745+rajbos@users.noreply.github.com>
1 parent 1cfae98 commit 377c8cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ jobs:
6767
fi
6868
6969
# Create and push the tag
70-
git config user.name "github-actions[bot]"
71-
git config user.email "github-actions[bot]@users.noreply.github.com"
70+
git config --local user.name "github-actions[bot]"
71+
git config --local user.email "github-actions[bot]@users.noreply.github.com"
7272
git tag -a "$VERSION" -m "Release $VERSION"
7373
git push origin "$VERSION"
7474

0 commit comments

Comments
 (0)