Skip to content

Commit 4e91011

Browse files
jedudenclaude
andauthored
Configure git identity before merge queue action (#171)
* ci: add checkout and git identity steps before merge-queue-action https://claude.ai/code/session_014hGMbN9kAK6NJWKkEXirHx * ci: set persist-credentials: false on merge-queue checkout step Addresses zizmor finding — the action receives its own token parameter so persisted credentials are unnecessary. https://claude.ai/code/session_014hGMbN9kAK6NJWKkEXirHx --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 69b71d2 commit 4e91011

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/merge-queue.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@ jobs:
3434
actions: write
3535
issues: write
3636
steps:
37+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
38+
with:
39+
fetch-depth: 0
40+
token: ${{ secrets.MERGE_QUEUE_TOKEN }}
41+
persist-credentials: false
42+
43+
- name: Configure git identity
44+
run: |
45+
git config user.email "merge-queue@users.noreply.github.com"
46+
git config user.name "merge-queue-bot"
47+
3748
- uses: jeduden/merge-queue-action@5adb5a76e27e96f1da5efd36f097a2c5233e9ad3 # v0.6.0
3849
with:
3950
token: ${{ secrets.MERGE_QUEUE_TOKEN }}

0 commit comments

Comments
 (0)