Skip to content

Commit 8280084

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 ad59527 commit 8280084

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ jobs:
6767
6868
- name: Create temporary tag
6969
run: |
70-
git config --local user.email "action@github.com"
71-
git config --local user.name "GitHub Action"
70+
git config --local user.email "unhappychoice@gmail.com"
71+
git config --local user.name "Yuji Ueki"
7272
git add Cargo.toml Cargo.lock flake.nix
7373
git commit -m "chore: bump version to ${{ steps.version.outputs.new_version }}"
7474
git tag ${{ steps.version.outputs.new_version }}
@@ -235,8 +235,8 @@ jobs:
235235
- name: Commit and push changes
236236
run: |
237237
VERSION=${{ needs.release.outputs.new_version }}
238-
git config --local user.email "action@github.com"
239-
git config --local user.name "GitHub Action"
238+
git config --local user.email "unhappychoice@gmail.com"
239+
git config --local user.name "Yuji Ueki"
240240
git add flake.nix flake.lock
241241
git commit -m "chore: update flake.nix hashes for $VERSION" || echo "No changes to commit"
242242
git push origin main
@@ -294,8 +294,8 @@ jobs:
294294
FOURTH_SHA_LINE=$(grep -n 'sha256 "' Formula/gitlogue.rb | head -4 | tail -1 | cut -d: -f1)
295295
sed -i "${FOURTH_SHA_LINE}s/sha256 \"[a-f0-9]\+\"/sha256 \"$LINUX_ARM_SHA\"/" Formula/gitlogue.rb
296296
297-
git config --local user.email "action@github.com"
298-
git config --local user.name "GitHub Action"
297+
git config --local user.email "unhappychoice@gmail.com"
298+
git config --local user.name "Yuji Ueki"
299299
git add Formula/gitlogue.rb
300300
git commit -m "chore: update gitlogue to $VERSION"
301301
git push

0 commit comments

Comments
 (0)