diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-12-16 23:30:43 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-12-17 09:17:09 +0100 |
commit | ed0bc61e31a90d284b2686df1d48fd697e3ebbc4 (patch) | |
tree | 87a05e004bff65aaf4d05d14e2ab1a62c89864ef | |
parent | 4bf36e2b2dac5d7760bc9651ba664b5a13bb1404 (diff) | |
download | curl-ed0bc61e31a90d284b2686df1d48fd697e3ebbc4.tar.gz |
linkcheck.yml: add CI job that checks markdown links
Closes #8158
-rw-r--r-- | .github/workflows/linkcheck.yml | 23 |
1 files changed, 23 insertions, 0 deletions
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' |