Only run the markdown linter if markdown was touched. (#8337)

This commit is contained in:
M. J. Fromberger
2022-04-13 13:13:59 -07:00
committed by GitHub
parent 0e4b18806e
commit 6dc15b2f50

View File

@@ -12,7 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: technote-space/get-diff-action@v6.0.1
with:
PATTERNS: |
**/**.md
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.14
with:
check-modified-files-only: 'yes'
config-file: '.md-link-check.json'
if: env.GIT_DIFF