Skip to content

Bump actions/checkout from 3 to 4 (#140) #183

Bump actions/checkout from 3 to 4 (#140)

Bump actions/checkout from 3 to 4 (#140) #183

Workflow file for this run

name: Document GitHub action
on:
push:
paths:
- ".github/workflows/wordle.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@v4
- name: Documentation action
id: documentation
uses: katydecorah/documentation-action@v1.1.1
with:
example-workflow-file: "wordle.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