From 61c4a41aed3480d247f45a04d996324daf052510 Mon Sep 17 00:00:00 2001 From: Clyde D'Souza Date: Thu, 13 Jul 2023 00:52:28 +1200 Subject: [PATCH] Add workflow file to check sort order of list items --- .github/workflows/sort-order-checker.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/sort-order-checker.yml diff --git a/.github/workflows/sort-order-checker.yml b/.github/workflows/sort-order-checker.yml new file mode 100644 index 0000000..36e6202 --- /dev/null +++ b/.github/workflows/sort-order-checker.yml @@ -0,0 +1,22 @@ +name: Check sort order of list items + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + listChecker: + name: Check if portfolio items are alphabetically sorted + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Lint developer portfolio + uses: ClydeDz/markdown-list-linter@v0.1.4 + with: + file: ./README.md + fail-on-error: true \ No newline at end of file