mirror of
https://github.com/vinta/awesome-python.git
synced 2026-03-23 13:56:43 +08:00
fix: use canonical GitHub Actions bot email with numeric ID
The generic email 'github-actions[bot]@users.noreply.github.com' does not match GitHub's actual bot account. Using the numeric-prefixed form '41898282+github-actions[bot]@users.noreply.github.com' ensures commits made by the workflow are correctly attributed to the bot account. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2
.github/workflows/fetch-github-stars.yml
vendored
2
.github/workflows/fetch-github-stars.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Commit updated star data
|
- name: Commit updated star data
|
||||||
run: |
|
run: |
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git add website/data/github_stars.json
|
git add website/data/github_stars.json
|
||||||
if ! git diff --cached --quiet; then
|
if ! git diff --cached --quiet; then
|
||||||
git commit -m "chore: update GitHub stars data"
|
git commit -m "chore: update GitHub stars data"
|
||||||
|
|||||||
Reference in New Issue
Block a user