Skip to content

Commit 9382489

Browse files
committed
build: sign commits in REPL docs workflow
1 parent 2370b7a commit 9382489

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/update_repl_docs.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ jobs:
105105
run: |
106106
rm -rf .git/hooks
107107
108+
# Import GPG key to sign commits:
109+
- name: 'Import GPG key to sign commits'
110+
# Pin action to full length commit SHA
111+
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0
112+
with:
113+
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }}
114+
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }}
115+
git_user_signingkey: true
116+
git_commit_gpgsign: true
117+
108118
# Create a pull request:
109119
- name: 'Create pull request'
110120
id: cpr
@@ -118,7 +128,8 @@ jobs:
118128
- updates the REPL namespace documentation
119129
120130
commit-message: 'docs: update REPL namespace documentation'
121-
committer: 'stdlib-bot <noreply@stdlib.io>'
131+
committer: 'stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>'
132+
signoff: true
122133
token: ${{ secrets.PULL_REQUEST_TOKEN }}
123134
labels: |
124135
documentation

0 commit comments

Comments
 (0)