Skip to content

Commit 36edb5c

Browse files
committed
chore(ci): use personal git identity for automated commits
Automated commits from GitHub Actions were authored as a bot or under an inconsistent name. Attribute them to the repository owner so history and contribution graphs reflect the actual author.
1 parent 0693cf4 commit 36edb5c

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ jobs:
6161
6262
- name: Create temporary tag
6363
run: |
64-
git config --local user.email "action@github.com"
65-
git config --local user.name "GitHub Action"
64+
git config --local user.email "unhappychoice@gmail.com"
65+
git config --local user.name "Yuji Ueki"
6666
git add Cargo.toml Cargo.lock flake.nix
6767
git commit -m "chore: bump version to ${{ steps.version.outputs.new_version }}"
6868
git tag ${{ steps.version.outputs.new_version }}
@@ -251,8 +251,8 @@ jobs:
251251
- name: Commit and push changes
252252
run: |
253253
VERSION=${{ needs.release.outputs.new_version }}
254-
git config --local user.email "action@github.com"
255-
git config --local user.name "GitHub Action"
254+
git config --local user.email "unhappychoice@gmail.com"
255+
git config --local user.name "Yuji Ueki"
256256
git add flake.nix flake.lock
257257
git commit -m "chore: update flake.nix hashes for $VERSION" || echo "No changes to commit"
258258
git push origin main
@@ -310,8 +310,8 @@ jobs:
310310
FOURTH_SHA_LINE=$(grep -n 'sha256 "' Formula/splashboard.rb | head -4 | tail -1 | cut -d: -f1)
311311
sed -i "${FOURTH_SHA_LINE}s/sha256 \"[a-f0-9]\+\"/sha256 \"$LINUX_ARM_SHA\"/" Formula/splashboard.rb
312312
313-
git config --local user.email "action@github.com"
314-
git config --local user.name "GitHub Action"
313+
git config --local user.email "unhappychoice@gmail.com"
314+
git config --local user.name "Yuji Ueki"
315315
git add Formula/splashboard.rb
316316
git commit -m "chore: update splashboard to $VERSION"
317317
git push

‎.github/workflows/sync-llm-pricing.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
uses: peter-evans/create-pull-request@v8
7676
with:
7777
token: ${{ secrets.GITHUB_TOKEN }}
78+
author: Yuji Ueki <[email protected]>
79+
committer: Yuji Ueki <[email protected]>
7880
branch: chore/sync-llm-pricing
7981
title: 'chore: sync llm pricing from LiteLLM'
8082
commit-message: |

0 commit comments

Comments
 (0)