Skip to content

Commit

Permalink
fix(IDX): remove CI github email (#3837)
Browse files Browse the repository at this point in the history
For any auto-generated commits we need to add both a user and an email,
though this user is not actually logged in. This can cause confusion if
the email address is associated with a real user that doesn't have
anything to do with this commit.

The ideal solution would be to set `github-actions` as the commit
author, but I have not figured out a way to do this. For this reason, we
just leave the email blank.

---------

Co-authored-by: GitHub Actions Bot <>
  • Loading branch information
cgundy authored Feb 11, 2025
1 parent 6e50a32 commit 8c8be0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-generate-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
if [ -n "$(git status --porcelain)" ]; then
git config --global user.name "IDX GitHub Automation"
git config --global user.email "idx@dfinity.org"
git config --global user.email "<>"
git add .
git commit -m "IDX GitHub Automation"
git push
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/container-autobuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
popd
git config --global user.name "IDX GitHub Automation"
git config --global user.email "idx@dfinity.org"
git config --global user.email "<>"
git add .
git commit -m "Updating container image to ${IMAGE_SHA}" -m "Image tag: ${IMAGE_TAG}"
git push
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rosetta-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Configure Git
run: |
git config --global user.name "IDX GitHub Automation"
git config --global user.email "idx@dfinity.org"
git config --global user.email "<>"
- name: Check rosetta release version
if: ${{ github.event.inputs.rosetta_release_version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-public-with-private.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Sync changes from public ic
run: |
git config --global user.name "IDX GitHub Automation"
git config --global user.email "idx@dfinity.org"
git config --global user.email "<>"
git remote add public https://github.com/dfinity/ic.git
git fetch public master
Expand Down

0 comments on commit 8c8be0e

Please sign in to comment.