From 126bf287b9bb97c21b386e78a97c5b392a13d5c7 Mon Sep 17 00:00:00 2001 From: Clyde D'Souza Date: Wed, 12 Jul 2023 22:15:40 +1200 Subject: [PATCH] Add workflow file to check markdown list order --- .github/workflows/order-checker.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/order-checker.yml diff --git a/.github/workflows/order-checker.yml b/.github/workflows/order-checker.yml new file mode 100644 index 0000000..a7a3b27 --- /dev/null +++ b/.github/workflows/order-checker.yml @@ -0,0 +1,21 @@ +on: + workflow_dispatch: + push: + branches: + - main + pull_request: + branches: + - main + +name: Check order of markdown list items +jobs: + linkChecker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Lint markdown lists + uses: ClydeDz/markdown-list-linter@main + with: + file: markdown-lists/valid_file.md + fail-on-error: true