mirror of
https://github.com/storytold/terraform-aws-observability-accelerator.git
synced 2026-10-09 00:09:43 +00:00
c9f783db11
* Setup actions for pre-commit * Link check * To drop * Edit path * Pre-commit badge * Revert "Edit path" This reverts commit ccd5c09bf8da61489ec8c2bfa35f6ac8c0a61005. * Revert "To drop" This reverts commit a3ccee05faabff7ba28b600acc83cea3f018414f. * Setup plan for examples * Remove dead code
30 lines
694 B
YAML
30 lines
694 B
YAML
name: Check Markdown links
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "**/*.md"
|
|
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "**/*.md"
|
|
|
|
jobs:
|
|
markdown-link-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '16.x'
|
|
- name: install markdown-link-check
|
|
run: npm install -g markdown-link-check@3.10.2
|
|
- name: markdown-link-check version
|
|
run: npm list -g markdown-link-check
|
|
- name: Run markdown-link-check on MD files
|
|
run: find docs -name "*.md" | xargs -n 1 markdown-link-check -q -c .github/workflows/linkcheck.json
|