Attempt to fix the markdown link checker. (#387)

Make sure it runs for pull requests as well as pushes to master.
Otherwise, I think, it may not trigger to satisfy the requirement.

* Fold in version bump from #385.

Co-authored-by: sweexordious <chamirachid1@gmail.com>
This commit is contained in:
M. J. Fromberger
2022-01-14 13:06:06 -08:00
committed by GitHub
parent b695d30aae
commit bab9f68689
2 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
name: Check Markdown links
on: push
on:
push:
branches:
- master
pull_request:
branches: [master]
jobs:
markdown-link-check:
@@ -8,3 +13,5 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@1.0.13
with:
check-modified-files-only: 'yes'

View File

@@ -13,8 +13,11 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
- name: Lint Code Base
uses: docker://github/super-linter:v3
uses: docker://github/super-linter:v4
env:
LINTER_RULES_PATH: .
VALIDATE_ALL_CODEBASE: false