Refactor markdown check workflow

This commit is contained in:
ericiwamoto 2024-11-27 08:51:53 -08:00 committed by Carlos Felix
parent 179660944c
commit 3b5e040f3a

View file

@ -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