Skip to content

Instantly share code, notes, and snippets.

@jonasbn
Created November 23, 2025 20:08
Show Gist options
  • Select an option

  • Save jonasbn/20fee1000c0634591243e9d875e28995 to your computer and use it in GitHub Desktop.

Select an option

Save jonasbn/20fee1000c0634591243e9d875e28995 to your computer and use it in GitHub Desktop.
My default workflow Markdownlint
name: Markdownlint Action
on:
push:
paths:
- '**/*.md'
- '.markdownlintignore'
- '.markdownlint.json'
pull_request:
paths:
- '**/*.md'
- '.markdownlintignore'
- '.markdownlint.json'
permissions: read-all
jobs:
build:
name: Markdownlint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Markdownlint
uses: nosborn/github-action-markdown-cli@508d6cefd8f0cc99eab5d2d4685b1d5f470042c1 # v3.5.0
continue-on-error: true
with:
files: .
config_file: ".markdownlint.json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment