Skip to content

Commit d097555

Browse files
committed
feat: Enhance release process
1 parent 7812468 commit d097555

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

.github/workflows/main.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ permissions:
1313

1414

1515
jobs:
16+
permissions:
17+
# Give the default GITHUB_TOKEN write permission to commit and push the
18+
# added or changed files to the repository.
19+
contents: write
1620
build:
1721
runs-on: ubuntu-latest
1822
steps:
@@ -25,7 +29,6 @@ jobs:
2529
extra_plugins: |
2630
@semantic-release/commit-analyzer
2731
@semantic-release/release-notes-generator
28-
@semantic-release/git
2932
env:
3033
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3134
- name: Get Semantic Release Version
@@ -61,4 +64,15 @@ jobs:
6164
push: true
6265
platforms: linux/amd64,linux/arm64
6366
tags: wurstbrot/dsomm:${{ steps.get-version.outputs.version }},wurstbrot/dsomm:latest
64-
67+
- uses: actions/checkout@v3
68+
69+
# Run steps that make changes to the local repo here.
70+
71+
# Commit all changed files back to the repository
72+
- uses: planetscale/ghcommit-action@v0.1.8
73+
with:
74+
commit_message: "🤖 fmt"
75+
repo: ${{ github.repository }}
76+
branch: ${{ github.head_ref || github.ref_name }}
77+
env:
78+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)