Skip to content

Commit

Permalink
Merge pull request #29 from cacoco/ccoco/gpg
Browse files Browse the repository at this point in the history
[release] Sign commits in codemeta update workflow
  • Loading branch information
cacoco authored Feb 5, 2024
2 parents 383eb71 + 5cdf151 commit 9c7e9c5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/codemeta-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,18 @@ jobs:
run: |
tag="${{ github.ref_name }}"
echo "release-version=${tag#v}" >> $GITHUB_ENV
- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
git_user_signingkey: true
git_commit_gpgsign: true
- name: Set up Git Config
run: |
git config user.name "goreleaserbot"
git config user.email "<bot@goreleaser.com>"
git config user.name "Christopher Coco"
git config user.email "<christopher@angstrom.io>"
- name: Update codemeta.json version in main branch
uses: jossef/action-set-json-field@v2.1
with:
Expand Down

0 comments on commit 9c7e9c5

Please sign in to comment.