mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-06 03:13:48 +02:00
5025a363ff
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
33 lines
776 B
YAML
33 lines
776 B
YAML
name: generate
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
paths:
|
|
- '.github/workflows/generate.yml'
|
|
- pkg/config/config.go
|
|
- CONTRIBUTING.md
|
|
- USERS.md
|
|
|
|
jobs:
|
|
docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
token: ${{ secrets.GH_PAT }}
|
|
- uses: actions/setup-go@v2
|
|
with:
|
|
go-version: 1.17
|
|
- uses: arduino/setup-task@v1
|
|
- run: task docs:generate
|
|
- run: task schema:generate
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: "docs: update"
|
|
branch: main
|
|
commit_user_name: actions-user
|
|
commit_user_email: actions@github.com
|
|
commit_author: actions-user <actions@github.com>
|