Skip to content

Commit

Permalink
chore: add tidy workflow (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres authored Feb 27, 2024
1 parent 0c715c4 commit ebe405a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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 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

0 comments on commit ebe405a

Please sign in to comment.