Browse Source

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>
pull/7804/head
M. J. Fromberger 3 years ago
committed by GitHub
parent
commit
bab9f68689
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 2 deletions
  1. +8
    -1
      .github/workflows/action.yml
  2. +4
    -1
      .github/workflows/linter.yml

+ 8
- 1
.github/workflows/action.yml 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'

+ 4
- 1
.github/workflows/linter.yml 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


Loading…
Cancel
Save