mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Switch to GitHub Action for linting markdown (#19899)
This commit is contained in:
@@ -4,7 +4,7 @@ on:
|
||||
- master
|
||||
- 'release/**'
|
||||
|
||||
name: Check links for modified files
|
||||
name: Check modified markdown files
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
@@ -19,3 +19,19 @@ jobs:
|
||||
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
|
||||
- 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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user