From 4ba24aa9ae4fa6d48732660729a0105435e26f3e Mon Sep 17 00:00:00 2001 From: Name Date: Fri, 29 Mar 2024 00:55:49 +0100 Subject: [PATCH] Add github action to find HTTP resources returning a 404 error code --- .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 00000000..e757ee42 --- /dev/null +++ b/.github/workflows/markdown-lint.yml @@ -0,0 +1,17 @@ +name: Markdown lint +# https://github.com/marketplace/actions/404-links +on: + push: + branches: [ master ] + 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 }} \ No newline at end of file