1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-10 03:47:03 +02:00
goreleaser/.github/workflows/generate.yml
Carlos Alexandro Becker cac3f17562
feat(deps): build with go 1.19.4 (#3644)
latest and greatest

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-14 15:23:40 -03:00

39 lines
1.1 KiB
YAML

name: generate
on:
push:
branches:
- 'main'
paths:
- '.github/workflows/generate.yml'
- pkg/config/config.go
- CONTRIBUTING.md
- USERS.md
permissions:
contents: read
jobs:
docs:
permissions:
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3
with:
token: ${{ secrets.GH_PAT }}
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3
with:
go-version: '>=1.19.4'
cache: true
- uses: arduino/setup-task@d665c6beebae46ff3f699d7b2fd3f1959de7153c # v1
- run: task docs:generate
- run: task schema:generate
- uses: stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4
with:
commit_message: "chore: docs auto-update"
branch: main
commit_user_name: actions-user
commit_user_email: actions@github.com
commit_author: actions-user <actions@github.com>