41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
name: Check Markdown For Errors
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
tags-ignore:
|
|
- '**'
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
markdownlint:
|
|
name: markdownlint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v6
|
|
|
|
# pinning to SHA to mitigate possible supply chain attack
|
|
- name: Run markdownlint-cli
|
|
uses: nosborn/github-action-markdown-cli@508d6cefd8f0cc99eab5d2d4685b1d5f470042c1 # v3.5.0
|
|
with:
|
|
files: .
|
|
config_file: ".github/.markdownlint.yaml"
|
|
|
|
# markdown-link-check:
|
|
# name: Broken Links Check
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - name: Checkout repository
|
|
# uses: actions/checkout@v6
|
|
#
|
|
# # pinning to SHA to mitigate possible supply chain attack
|
|
# - name: Check for broken links
|
|
# uses: tcort/github-action-markdown-link-check@a800ad5f1c35bf61987946fd31c15726a1c9f2ba # v1.1.0
|
|
# with:
|
|
# use-quiet-mode: 'yes' # only show errors in output
|
|
# use-verbose-mode: 'yes' # show detailed HTTP status for checked links
|