From: Daniel Stenberg Date: Thu, 16 Dec 2021 22:30:43 +0000 (+0100) Subject: linkcheck.yml: add CI job that checks markdown links X-Git-Tag: curl-7_81_0~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed0bc61e31a90d284b2686df1d48fd697e3ebbc4;p=thirdparty%2Fcurl.git linkcheck.yml: add CI job that checks markdown links Closes #8158 --- diff --git a/.github/workflows/linkcheck.yml b/.github/workflows/linkcheck.yml new file mode 100644 index 0000000000..b37cd81060 --- /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'