✅ Merge main
into live
#1762
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
name: Markdownlint | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- "**/*.md" | |
- ".markdownlint-cli2.jsonc" | |
- ".github/workflows/markdownlint.yml" | |
- ".github/workflows/markdownlint-problem-matcher.json" | |
pull_request: | |
paths: | |
- "**/*.md" | |
- ".markdownlint-cli2.jsonc" | |
- ".github/workflows/markdownlint.yml" | |
- ".github/workflows/markdownlint-problem-matcher.json" | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
permissions: | |
statuses: write | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: DavidAnson/markdownlint-cli2-action@db43aef879112c3119a410d69f66701e0d530809 # v17.0.0 | |
with: | |
config: ".markdownlint-cli2.jsonc" | |
globs: "**/*.md" | |