-
-
Notifications
You must be signed in to change notification settings - Fork 621
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: sign commits in REPL docs workflow
- Loading branch information
1 parent
2370b7a
commit 9382489
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -105,6 +105,16 @@ jobs: | |
run: | | ||
rm -rf .git/hooks | ||
# Import GPG key to sign commits: | ||
- name: 'Import GPG key to sign commits' | ||
# Pin action to full length commit SHA | ||
uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 # v6.1.0 | ||
with: | ||
gpg_private_key: ${{ secrets.STDLIB_BOT_GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.STDLIB_BOT_GPG_PASSPHRASE }} | ||
git_user_signingkey: true | ||
git_commit_gpgsign: true | ||
|
||
# Create a pull request: | ||
- name: 'Create pull request' | ||
id: cpr | ||
|
@@ -118,7 +128,8 @@ jobs: | |
- updates the REPL namespace documentation | ||
commit-message: 'docs: update REPL namespace documentation' | ||
committer: 'stdlib-bot <[email protected]>' | ||
committer: 'stdlib-bot <[email protected]>' | ||
signoff: true | ||
token: ${{ secrets.PULL_REQUEST_TOKEN }} | ||
labels: | | ||
documentation | ||
|