From ed0bc61e31a90d284b2686df1d48fd697e3ebbc4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 16 Dec 2021 23:30:43 +0100 Subject: linkcheck.yml: add CI job that checks markdown links Closes #8158 --- .github/workflows/linkcheck.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/linkcheck.yml diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml new file mode 100644 index 000000000..b37cd8106 --- /dev/null +++ b/.github/workflows/linkcheck.yml @@ -0,0 +1,23 @@ +# Docs: https://github.com/marketplace/actions/markdown-link-check + +name: Markdown links + +on: + # Trigger the workflow on push or pull requests, but only for the + # master branch + push: + branches: + - master + - '*/ci' + pull_request: + branches: + - master + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + - uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' -- cgit v1.2.1