Skip to content

Merge pull request #59 from koki-develop/renovate/actions-setup-go-5.x #69

Merge pull request #59 from koki-develop/renovate/actions-setup-go-5.x

Merge pull request #59 from koki-develop/renovate/actions-setup-go-5.x #69

Workflow file for this run

name: update docs
on:
push:
branches:
- main
jobs:
update-docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go run ./docs/update.go
- run: |
git add .
if git diff --staged --exit-code --quiet; then
echo "No changes."
else
git config user.name github-actions
git config user.email github-actions@github.com
git commit -m "update docs"
git push origin main
fi