Update README.md #53
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tidy document | |
on: | |
workflow_dispatch: {} | |
push: | |
branches: | |
- main | |
jobs: | |
tidy: | |
name: Tidy up | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: brew install tidy-html5 | |
- run: tidy -config tidyconfig.txt -o charter/draft-charter-2021.html charter/draft-charter-2021.html | |
- uses: peter-evans/create-pull-request@v3 | |
with: | |
title: "Tidied up draft charter using tidy-html5" | |
commit-message: "chore(draft-charter-2021.html): tidy up document" | |
branch: html-tidy |