Skip to content

9.2.1

9.2.1 #384

Workflow file for this run

name: Document GitHub action
permissions:
contents: write
on:
workflow_dispatch:
push:
paths:
- ".github/workflows/read.yml"
- ".github/workflows/read-advanced.yml"
- ".github/workflows/read-thumbnail.yml"
- ".github/workflows/documentation.yml"
- "action.yml"
- "package.json"
- "README.md"
jobs:
documentation:
runs-on: ubuntu-latest
name: Write documentation
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Documentation action
id: documentation
uses: katydecorah/[email protected]
with:
example-workflow-file: "read.yml"
additional-workflow-file-prefix: "read"
- name: Commit files
if: steps.documentation.outputs.update == 'true'
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git commit -am "Update documentation"
git push