Skip to content

Commit 12cbb10

Browse files
committed
fix: Enhance release process
1 parent 0a2a428 commit 12cbb10

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,17 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v3
20-
# Commit all changed files back to the repository with code signing, shouldn't be something, but loads signing
21-
- uses: planetscale/[email protected]
2220
with:
23-
commit_message: "🤖 fmt"
24-
repo: ${{ github.repository }}
25-
branch: ${{ github.head_ref || github.ref_name }}
26-
env:
27-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
21+
persist-credentials: false # This is important if you have branch protection rules!
22+
- name: Import bot's GPG key for signing commits
23+
id: import-gpg
24+
uses: crazy-max/ghaction-import-gpg@v6
25+
with:
26+
gpg_private_key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
27+
passphrase: ""
28+
git_config_global: true
29+
git_user_signingkey: true
30+
git_commit_gpgsign: true
2831
- name: Semantic Release
2932
uses: cycjimmy/semantic-release-action@v4
3033
with:

0 commit comments

Comments
 (0)