Skip to content

Commit 0a11666

Browse files
committed
Use sign-commits instead of hardcoded author
sign-commits: true causes the action to create commits via the GitHub REST API, automatically using the token identity (github-actions[bot]) for both author and committer. This avoids hardcoding the bot email and gives commits a Verified badge as a bonus. The author/committer inputs are ignored when sign-commits is enabled.
1 parent 2e5dc3c commit 0a11666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +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>
35+
sign-commits: true
3636
title: "chore: weekly dependency update"
3737
body-path: pr_body.md
3838
branch: weekly-lockfile-update

0 commit comments

Comments
 (0)