-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.32 KB
/
autodoc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: 'Update README.md with action.yml'
on:
push:
branches:
- 'main'
jobs:
update-readme:
runs-on: [ 'ubuntu-latest' ]
steps:
- name: 'Checkout repository'
uses: actions/[email protected]
with:
fetch-depth: 0
- name: 'run auto-doc'
# v3.5.0
uses: tj-actions/auto-doc@79cbc18cd7c4b037bb2fe25199cb14fef4bbad43
with:
filename: 'action.yml'
output: 'README.md'
- name: 'Create pull request to update README.md'
id: cpr
# v6.0.2
uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Update docs (${{ github.sha }})"
committer: GitHub <[email protected]>
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
signoff: false
branch: "bot/update-docs-${{ github.sha }}"
delete-branch: true
title: "Update docs (${{ github.sha }})"
body: |
Auto-generated pull request to update README.md
labels: |
documentation
docs
automated pr
assignees: syncom
reviewers: thistletech/engineering
draft: false
base: ${{ github.head_ref }}