Skip to content

Commit db32620

Browse files
committed
chore(ci): add GPG commit signing to weekly-update workflow
1 parent 3f638c9 commit db32620

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/weekly-update.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,14 @@ jobs:
5959
GH_TOKEN: ${{ github.token }}
6060
run: |
6161
BRANCH_NAME="weekly-update-$(date +%Y%m%d)"
62-
git config user.name "github-actions[bot]"
63-
git config user.email "github-actions[bot]@users.noreply.github.com"
6462
git remote set-url origin "https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git"
6563
git checkout -b "$BRANCH_NAME"
6664
echo "branch=$BRANCH_NAME" >> $GITHUB_OUTPUT
6765
66+
- uses: SocketDev/socket-registry/.github/actions/setup-git-signing@6096b06b1790f411714c89c40f72aade2eeaab7c # main
67+
with:
68+
gpg-private-key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
69+
6870
- name: Run updating skill with Claude Code
6971
id: claude
7072
timeout-minutes: 30
@@ -157,6 +159,9 @@ jobs:
157159
path: claude-output.log
158160
retention-days: 7
159161

162+
- uses: SocketDev/socket-registry/.github/actions/cleanup-git-signing@6096b06b1790f411714c89c40f72aade2eeaab7c # main
163+
if: always()
164+
160165
notify:
161166
name: Notify results
162167
needs: [check-updates, apply-updates]

0 commit comments

Comments
 (0)