Skip to content

Commit

Permalink
build: sign commit via stdlib-bot GPG key
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Dec 25, 2023
1 parent 0d35f05 commit 6919d07
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/markdown_related_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ jobs:
fi
timeout-minutes: 10

# Import GPG key to sign commit:
- name: 'Import GPG key to sign commit'
# Import GPG key to sign commits:
- name: 'Import GPG key to sign commits'
if: steps.update-related-packages.outputs.changed == 'true'
# Pin action to full length commit SHA
uses: crazy-max/ghaction-import-gpg@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.0
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/namespace_declarations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,16 @@ jobs:
run: |
make list-pkgs-namespaces | node lib/node_modules/@stdlib/_tools/scripts/create_namespace_types.js
# 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@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.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

# Disable Git hooks:
- name: 'Disable Git hooks'
run: |
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/terminal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,16 @@ jobs:
make init
timeout-minutes: 5

# 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@82a020f1f7f605c65dd2449b392a52c3fcfef7ef # v6.0.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

# Setup a terminal session:
- name: 'Setup upterm session'
# Pin action to full length commit SHA
Expand Down

0 comments on commit 6919d07

Please sign in to comment.