Skip to content

Commit 2e5dc3c

Browse files
committed
ci: use github-actions[bot] as author for weekly lockfile commits
The peter-evans/create-pull-request action defaults author to ${{ github.actor }}. For scheduled workflows, GitHub assigns this to a human user (the schedule owner), causing weekly dependency update commits to be incorrectly attributed to a maintainer rather than the bot. Github-Issue: #2043
1 parent 0fe16dd commit 2e5dc3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/weekly-lockfile-update.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v7
3333
with:
3434
commit-message: "chore: update uv.lock with latest dependencies"
35+
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
3536
title: "chore: weekly dependency update"
3637
body-path: pr_body.md
3738
branch: weekly-lockfile-update

0 commit comments

Comments
 (0)