Skip to content

Commit 62c6f61

Browse files
committed
add passphrase and token env variables for signing commits
1 parent 6891a34 commit 62c6f61

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/prep-release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ jobs:
1919
steps:
2020
- name: Checkout the code
2121
uses: actions/checkout@v4
22+
with:
23+
token: ${{ secrets.PAT }}
2224

2325
- name: Import GPG key
2426
uses: crazy-max/ghaction-import-gpg@v6
2527
with:
2628
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
29+
passphrase: ${{ secrets.PASSPHRASE }}
2730
git_user_signingkey: true
2831
git_commit_gpgsign: true
2932
git_tag_gpgsign: true

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,14 @@ jobs:
8383
steps:
8484
- name: Checkout the code
8585
uses: actions/checkout@v4
86+
with:
87+
token: ${{ secrets.PAT }}
88+
8689
- name: Import GPG key
8790
uses: crazy-max/ghaction-import-gpg@v6
8891
with:
8992
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
93+
passphrase: ${{ secrets.PASSPHRASE }}
9094
git_user_signingkey: true
9195
git_commit_gpgsign: true
9296
git_tag_gpgsign: true

0 commit comments

Comments
 (0)