Skip to content

Commit 0a76421

Browse files
authored
Merge pull request #1205 from timofurrer/cleanup/migrate-action
Use `crazy-max/ghaction-import-gpg` instead of the one from hashicorp
2 parents d2f69cc + 0f477e4 commit 0a76421

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This GitHub action can publish assets for release when a tag is created.
22
# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
33
#
4-
# This uses an action (hashicorp/ghaction-import-gpg) that assumes you set your
4+
# This uses an action (crazy-max/ghaction-import-gpg) that assumes you set your
55
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
66
# secret. If you would rather own your own GPG handling, please fork this action
77
# or use an alternative one for key handling.
@@ -38,11 +38,11 @@ jobs:
3838
go-version: ${{ needs.go-version.outputs.go-version }}
3939
- name: Import GPG key
4040
id: import_gpg
41-
uses: hashicorp/ghaction-import-gpg@v2.1.0
42-
env:
41+
uses: crazy-max/ghaction-import-gpg@v5.1.0
42+
with:
4343
# These secrets will need to be configured for the repository:
44-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
45-
PASSPHRASE: ${{ secrets.PASSPHRASE }}
44+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
45+
passphrase: ${{ secrets.PASSPHRASE }}
4646
- name: Generate Release Notes from Changelog
4747
run: |
4848
LATEST_TAG=$(git describe --abbrev=0 --match='v*.*.*' --tags | tr -d v)

0 commit comments

Comments
 (0)