mirror of
https://github.com/coredns/coredns.git
synced 2026-04-05 11:45:33 -04:00
40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
name: Make Doc
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '22 10 * * 0'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
fix:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
pull-requests: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0
|
|
with:
|
|
go-version-file: .go-version
|
|
|
|
- name: Update Docs
|
|
run: |
|
|
bash -x -e ./.github/fixup_file_mtime.sh
|
|
make -f Makefile.doc
|
|
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
|
|
with:
|
|
commit-message: 'auto make -f Makefile.doc'
|
|
title: 'Update generated documentation'
|
|
body: 'Automated doc generation via `make -f Makefile.doc`'
|
|
branch: bot/make-doc
|
|
committer: 'coredns[bot] <bot@coredns.io>'
|
|
author: 'coredns[bot] <bot@coredns.io>'
|
|
signoff: true
|