mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
178ce2af58
closes #4402
33 lines
950 B
YAML
33 lines
950 B
YAML
name: generate
|
|
|
|
on:
|
|
workflow_dispatch: {}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
docs:
|
|
permissions:
|
|
contents: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v3
|
|
with:
|
|
token: ${{ secrets.GH_PAT }}
|
|
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4
|
|
with:
|
|
go-version: stable
|
|
cache: true
|
|
- uses: arduino/setup-task@e26d8975574116b0097a1161e0fe16ba75d84c1c # v1
|
|
- run: task docs:releases
|
|
- run: task docs:generate
|
|
- run: task schema:generate
|
|
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5
|
|
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>
|