Skip to content

Update branch references from 'master' to 'main' in workflow files #2

Update branch references from 'master' to 'main' in workflow files

Update branch references from 'master' to 'main' in workflow files #2

name: Markdown Linter
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
markdown-lint-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install markdownlint-rule-search-replace plugin
run: npm install markdownlint-rule-search-replace --save-dev
- name: markdownlint-cli2
uses: DavidAnson/markdownlint-cli2-action@v16.0.0
with:
config: ".markdownlint.jsonc"