Skip to content

pin the actions/checkout GitHub Action to a specific version #36

pin the actions/checkout GitHub Action to a specific version

pin the actions/checkout GitHub Action to a specific version #36

name: Markdown Syntax Validation
on: [push, workflow_dispatch]
jobs:
markdown-check:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/[email protected]
- name: Download .markdownlint.json
uses: suisei-cn/[email protected]
with:
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.markdownlint.json"
- name: Validate Markdown
uses: DavidAnson/markdownlint-cli2-action@v9
with:
command: config
globs: |
.markdownlint.json
**/*.md
#**/node_modules