From b21028156473b8aba6298139b4a96a1cb1c0b28b Mon Sep 17 00:00:00 2001 From: OliverOdo Date: Tue, 3 Sep 2024 11:27:19 +0700 Subject: [PATCH] Add Link linter Propose to add a link linter in order to check validity of the link provided in the wiki --- .github/workflows/markdown-lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/markdown-lint.yml diff --git a/.github/workflows/markdown-lint.yml b/.github/workflows/markdown-lint.yml new file mode 100644 index 0000000..b33e29b --- /dev/null +++ b/.github/workflows/markdown-lint.yml @@ -0,0 +1,17 @@ +name: Markdown lint + +on: + push: + branches: [ main ] + pull_request: + types: [assigned, opened, synchronize, reopened] + +jobs: + check-links: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: 'restqa-404-links' + uses: restqa/404-links@3.1.4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}