Skip to content

Bump katydecorah/documentation-action from 1.3.0 to 1.4.0 #30

Bump katydecorah/documentation-action from 1.3.0 to 1.4.0

Bump katydecorah/documentation-action from 1.3.0 to 1.4.0 #30

Workflow file for this run

name: Document GitHub action
on:
push:
paths:
- ".github/workflows/weather.yml"
- ".github/workflows/documentation.yml"
- "action.yml"
- "package.json"
- "README.md"
permissions:
contents: write
jobs:
documentation:
runs-on: macOS-latest
name: Write documentation
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Documentation action
id: documentation
uses: katydecorah/documentation-action@v1.4.0
with:
example-workflow-file: "weather.yml"
- name: Commit files
if: steps.documentation.outputs.update == 'true'
run: |
git pull
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -am "Update documentation"
git push