Skip to content

chore(tidy.yml): only on index.html changes #2

chore(tidy.yml): only on index.html changes

chore(tidy.yml): only on index.html changes #2

Workflow file for this run

name: Tidy document
on:
workflow_dispatch: {}
push:
branches:
- gh-pages
paths:
- index.html
jobs:
tidy:
name: Tidy up
runs-on: macos-latest
steps:

Check failure on line 14 in .github/workflows/tidy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tidy.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- uses: actions/checkout@v4
- run: brew install tidy-html5
- run: tidy -config tidyconfig.txt -o index.html index.html
- uses: peter-evans/create-pull-request@v6
with:
title: "Tidied up document using tidy-html5"
commit-message: "chore: tidy up index.html"
branch: html-tidy