mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
33 lines
824 B
YAML
33 lines
824 B
YAML
name: Verify Markdown Links
|
|
|
|
on:
|
|
push:
|
|
branches: [ main, master ]
|
|
paths:
|
|
- '**/*.md'
|
|
- '.github/workflows/verify-markdown-links.yml'
|
|
- '.github/actions/infrastructure/markdownlinks/**'
|
|
pull_request:
|
|
branches: [ main, master ]
|
|
paths:
|
|
- '**/*.md'
|
|
schedule:
|
|
# Run weekly on Sundays at midnight UTC to catch external link rot
|
|
- cron: '0 0 * * 0'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
verify-markdown-links:
|
|
name: Verify Markdown Links
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
|
|
- name: Verify markdown links
|
|
id: verify
|
|
uses: ./.github/actions/infrastructure/markdownlinks
|
|
with:
|
|
timeout-sec: 30
|
|
maximum-retry-count: 2
|