Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 19 additions & 2 deletions .github/workflows/reusable-release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,20 @@ jobs:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}

- name: Import GPG key and enable signed commits
id: import-gpg
uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Configure git identity
run: |
git config user.name "openfga-releaser[bot]"
git config user.email "openfga-releaser[bot]@users.noreply.github.com"
git config user.name "openfga-releaser-bot"
git config user.email "${{ steps.import-gpg.outputs.email }}"
git config commit.gpgSign true
Comment thread
SoulPancake marked this conversation as resolved.

- name: Prepare dispatch run
if: inputs.trigger-event == 'workflow_dispatch'
Expand Down Expand Up @@ -239,13 +249,20 @@ jobs:
token: ${{ steps.app-token.outputs.token }}

- name: Import GPG key and enable signed tags
id: import-gpg
uses: crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd # v7.0.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.GPG_PASSPHRASE }}
git_user_signingkey: true
git_tag_gpgsign: true

- name: Configure git identity
run: |
git config user.name "openfga-releaser-bot"
git config user.email "${{ steps.import-gpg.outputs.email }}"
git config tag.gpgSign true

- name: Create signed tags and draft releases
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
Expand Down