Skip to content

Commit

Permalink
Adding GPG signing for create release
Browse files Browse the repository at this point in the history
  • Loading branch information
trent-codecov committed Oct 6, 2023
1 parent 55d0401 commit 11309ad
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/create_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ jobs:
with:
gpg_private_key: ${{ secrets.RELEASER_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.RELEASER_PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true

- name: Initialize mandatory git config
run: |
git config --global user.name "${{ steps.import-gpg.outputs.email }}"
git config --global user.email "${{ steps.import-gpg.outputs.name }}"
git config --global commit.gpgsign true
git config --global user.signingkey "${{ steps.import-gpg.outputs.keyid }}"
gpg --list-secret-keys --keyid-format=long
# - name: Initialize mandatory git config
# run: |
# git config --global user.name "${{ steps.import-gpg.outputs.email }}"
# git config --global user.email "${{ steps.import-gpg.outputs.name }}"
# git config --global commit.gpgsign true
- name: Create release branch
run: git checkout -b release/${{ github.event.inputs.versionName }}
- name: Update version file
Expand Down

0 comments on commit 11309ad

Please sign in to comment.