2021-11-03 02:21:46 +02:00
|
|
|
name: generate
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-11-12 22:23:32 +02:00
|
|
|
- 'main'
|
2021-11-03 02:21:46 +02:00
|
|
|
paths:
|
|
|
|
- '.github/workflows/generate.yml'
|
2021-11-18 15:01:31 +02:00
|
|
|
- pkg/config/config.go
|
2021-11-03 02:21:46 +02:00
|
|
|
- CONTRIBUTING.md
|
|
|
|
- USERS.md
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docs:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2021-11-03 02:31:53 +02:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_PAT }}
|
2021-11-03 02:21:46 +02:00
|
|
|
- uses: actions/setup-go@v2
|
|
|
|
with:
|
|
|
|
go-version: 1.17
|
|
|
|
- uses: arduino/setup-task@v1
|
|
|
|
- run: task docs:generate
|
2021-11-18 15:01:31 +02:00
|
|
|
- run: task schema:generate
|
2021-11-03 02:21:46 +02:00
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
|
|
with:
|
|
|
|
commit_message: "docs: update"
|
2021-11-12 22:23:32 +02:00
|
|
|
branch: main
|