mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-22 09:41:26 -08:00
Refactor markdown check workflow
This commit is contained in:
parent
179660944c
commit
3b5e040f3a
1 changed files with 7 additions and 8 deletions
15
.github/workflows/markdown-link-check.yml
vendored
15
.github/workflows/markdown-link-check.yml
vendored
|
@ -1,15 +1,14 @@
|
|||
name: Check Markdown links
|
||||
name: Check Markdown Links
|
||||
on:
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ main ]
|
||||
# Run only if the pull request changes a markdown file:
|
||||
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#onpushpull_requestpaths
|
||||
paths:
|
||||
- '**.md'
|
||||
jobs:
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
check-links:
|
||||
name: runner / linkspector
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||
- uses: actions/checkout@v4
|
||||
- name: Run linkspector
|
||||
uses: umbrelladocs/action-linkspector@v1
|
Loading…
Add table
Reference in a new issue