Skip to content

Commit 8b90f2c

Browse files
committed
Sign documentation commits
1 parent 57764ac commit 8b90f2c

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

.github/workflows/docs.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,14 @@ jobs:
4545
4646
- name: Commit and push changes
4747
if: steps.changes.outputs.has_changes == 'true'
48-
run: |
49-
git config --local user.name "github-actions[bot]"
50-
git config --local user.email "github-actions[bot]@users.noreply.github.com"
51-
git add -A
52-
git commit -m "chore: auto-generate documentation
53-
54-
This commit was automatically generated by the CI pipeline.
55-
Run 'make generate' locally to regenerate documentation."
56-
git push
48+
uses: planetscale/ghcommit-action@25309d8005ac7c3bcd61d3fe19b69e0fe47dbdde # v0.2.20
49+
with:
50+
commit_message: |
51+
chore: auto-generate documentation
52+
53+
This commit was automatically generated by the CI pipeline.
54+
Run 'make generate' locally to regenerate documentation.
55+
repo: ${{ github.repository }}
56+
branch: ${{ github.head_ref }}
57+
env:
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)