Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto update README.md from action.yml #4

Merged
merged 1 commit into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/autodoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
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'
uses: tj-actions/auto-doc@v3
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
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# ota-release-action: OTA Update Action with Thistle

## Inputs


## Example usage

TODO