Skip to content

Commit 4fa6bbc

Browse files
committed
fix: set gpg config
Signed-off-by: hlts2 <[email protected]>
1 parent f0813e9 commit 4fa6bbc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,14 @@ jobs:
1818
run: |
1919
git config --global --add safe.directory ${GITHUB_WORKSPACE}
2020
21+
- uses: crazy-max/ghaction-import-gpg@v4
22+
with:
23+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
24+
git_user_signingkey: true
25+
git_commit_gpgsign: true
26+
- name: test
27+
run: |
28+
2129
touch test.txt
2230
2331
git remote set-url origin https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY

0 commit comments

Comments
 (0)