Skip to content

Commit 1766bcc

Browse files
committed
fix: Enhance release process
1 parent 12cbb10 commit 1766bcc

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/main.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,8 @@ jobs:
1919
- uses: actions/checkout@v3
2020
with:
2121
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
3122
- name: Semantic Release
23+
continue-on-error: true
3224
uses: cycjimmy/semantic-release-action@v4
3325
with:
3426
branch: 'master'
@@ -42,6 +34,15 @@ jobs:
4234
run: |
4335
echo "Semantic Release Version: ${{ steps.get-version.outputs.version }}"
4436
37+
# Commit all changed files back to the repository
38+
- uses: planetscale/ghcommit-action@v0.1.6
39+
with:
40+
commit_message: "🤖 fmt"
41+
repo: ${{ github.repository }}
42+
branch: ${{ github.head_ref || github.ref_name }}
43+
env:
44+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
45+
4546
- name: setup qemu for multi-arch build
4647
uses: docker/setup-qemu-action@v2
4748
with:
@@ -68,3 +69,4 @@ jobs:
6869
platforms: linux/amd64,linux/arm64
6970
tags: wurstbrot/dsomm:${{ steps.get-version.outputs.version }},wurstbrot/dsomm:latest
7071

72+
- uses: actions/checkout@v3

.releaserc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,5 @@
2020
}
2121
],
2222
"@semantic-release/github"
23-
],
24-
"ci": false
23+
]
2524
}

0 commit comments

Comments
 (0)