Skip to content

Move Release Process pattern to L2 (Structured) #622

Move Release Process pattern to L2 (Structured)

Move Release Process pattern to L2 (Structured) #622

Workflow file for this run

# 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/2-structured/project-setup/*.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/2-structured/project-setup/*.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/2-structured/project-setup/*.md patterns/3-validated/*.md'