Skip to content

Commit

Permalink
build: sign commits in REPL docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Feb 22, 2024
1 parent 2370b7a commit 9382489
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/update_repl_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9382489

Please sign in to comment.