From 1617459259df793f902e4be15259dd5bb8dbf0da Mon Sep 17 00:00:00 2001 From: Alex Malaszkiewicz Date: Wed, 15 Nov 2023 09:34:29 +0100 Subject: [PATCH 1/2] Rename Markdown reviewdog workflow --- .../workflows/{markdown_reviewdog.yml => markdown_reviewdog.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{markdown_reviewdog.yml => markdown_reviewdog.yaml} (100%) diff --git a/.github/workflows/markdown_reviewdog.yml b/.github/workflows/markdown_reviewdog.yaml similarity index 100% rename from .github/workflows/markdown_reviewdog.yml rename to .github/workflows/markdown_reviewdog.yaml From 86fb8b3503c9db749a3f738851b7691c9239f297 Mon Sep 17 00:00:00 2001 From: Alex Malaszkiewicz Date: Wed, 15 Nov 2023 10:25:05 +0100 Subject: [PATCH 2/2] Create markdown tools workflow We want to be able to manually run MarkdownLint on CI. [1]: https://github.com/DavidAnson/markdownlint [2]: https://github.com/igorshubovych/markdownlint-cli --- .github/workflows/markdown_tools.yaml | 29 +++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/markdown_tools.yaml diff --git a/.github/workflows/markdown_tools.yaml b/.github/workflows/markdown_tools.yaml new file mode 100644 index 00000000..2e49965a --- /dev/null +++ b/.github/workflows/markdown_tools.yaml @@ -0,0 +1,29 @@ +name: Markdown tools +on: + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + markdownlint: + name: MarkdownLint + + permissions: + contents: read + pull-requests: read + + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + - name: Install Node + uses: actions/setup-node@v4 + with: + node-version: 18 + - name: Install MarkdownLint + run: npm install -g markdownlint-cli + - name: Checking markdown + run: markdownlint .