docs(known-instances): Added SAP to RFC pattern #803
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from: https://github.com/marketplace/actions/markdown-linting-action | |
# To test this locally, switch to the root of the repo and run: | |
# markdownlint -r config/lint/pattern-template.js -c config/lint/pattern-template.yml patterns/2-structured/*.md patterns/3-validated/*.md | |
name: Pattern Syntax Validation | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
paths: | |
- ".github/workflows/lint-patterns.yml" | |
- ".github/lint-pattern-syntax/*" | |
- "patterns/2-structured/*.md" | |
- "patterns/3-validated/*.md" | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Problem Matcher for markdownlint-cli | |
uses: xt0rted/markdownlint-problem-matcher@v2 | |
- name: Lint pattern files (markdown) | |
uses: avto-dev/markdown-lint@v1 | |
with: | |
rules: './.github/lint-pattern-syntax/pattern-template.js' | |
config: './.github/lint-pattern-syntax/pattern-template.yml' | |
args: 'patterns/2-structured/*.md patterns/3-validated/*.md' |