Skip to content

Commit 477e5ac

Browse files
committed
chore(ci): add GPG commit signing to weekly-update workflow
1 parent 5b6435d commit 477e5ac

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/weekly-update.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ jobs:
8686
GH_TOKEN: ${{ github.token }}
8787
run: |
8888
BRANCH_NAME="weekly-update-$(date +%Y%m%d)"
89-
git config user.name "github-actions[bot]"
90-
git config user.email "github-actions[bot]@users.noreply.github.com"
9189
git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git"
9290
git checkout -b "$BRANCH_NAME"
9391
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
9492
93+
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@6096b06b1790f411714c89c40f72aade2eeaab7c # main
94+
with:
95+
gpg-private-key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
96+
9597
- name: Run updating skill with Claude Code
9698
id: claude
9799
timeout-minutes: 30
@@ -182,6 +184,9 @@ jobs:
182184
path: claude-output.log
183185
retention-days: 7
184186

187+
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@6096b06b1790f411714c89c40f72aade2eeaab7c # main
188+
if: always()
189+
185190
notify:
186191
name: Notify results
187192
needs: [check-updates, apply-updates]

0 commit comments

Comments
 (0)