mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- 'release/**'
|
|
|
|
name: Check modified markdown files
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
markdown-link-check:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
|
with:
|
|
use-quiet-mode: 'yes'
|
|
use-verbose-mode: 'yes'
|
|
check-modified-files-only: 'yes'
|
|
config-file: .github/workflows/markdown-link/config.json
|
|
markdown-lint:
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
statuses: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
# Full git history is needed to get a proper
|
|
# list of changed files within `super-linter`
|
|
fetch-depth: 0
|
|
- name: Lint Markdown
|
|
uses: super-linter/super-linter@v5
|
|
env:
|
|
VALIDATE_ALL_CODEBASE: false
|
|
DEFAULT_BRANCH: master
|
|
FILTER_REGEX_INCLUDE: .*\.md
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
VALIDATE_EDITORCONFIG: false
|