From 5025a3d710e587fe340adfd94eb54a22e180518d Mon Sep 17 00:00:00 2001 From: Joel Hans Date: Tue, 19 May 2020 15:01:06 -0700 Subject: Add GitHub CI job to check Markdown links during PRs (#9003) * Add action * Add job * Add broken link * Correct syntax for yamllint * Remove broken link to test * Re-add broken link as example for PR * Fixes for James * Rename to docs.yml --- .github/workflows/docs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/docs.yml (limited to '.github') diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 0000000000..1e38c6fbc7 --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,24 @@ +--- +name: Docs +on: + push: + branches: + - master + paths: + - '*.md' + pull_request: + paths: + - '*.md' +jobs: + markdown-link-check: + name: Broken Links + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Run link check + uses: gaurav-nelson/github-action-markdown-link-check@v1 + with: + use-quiet-mode: 'yes' + use-verbose-mode: 'yes' + check-modified-files-only: 'yes' -- cgit v1.2.3