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

fix (build): Fix Bazel Steward config git name & email #1188

Merged
merged 1 commit into from
Mar 4, 2025
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
4 changes: 2 additions & 2 deletions .github/workflows/bazel-steward.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
go install github.com/bazelbuild/buildtools/buildifier@latest
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"

git config user.name "Bazel Steward 🤵"
git config user.email "[email protected]"
git config --global user.name "Bazel Steward 🤵"
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

Consider adding a comment explaining why --global is necessary here. This will help future maintainers understand the purpose of this change and avoid accidental regressions.

          git config --global user.name "Bazel Steward 🤵" # Use --global to ensure the config is applied for all git operations in the workflow

git config --global user.email "[email protected]"
- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand Down
Loading