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