Skip to content

experimental: markdown lint in CI #1

experimental: markdown lint in CI

experimental: markdown lint in CI #1

Workflow file for this run

name: Markdown
on:
pull_request:
paths:
- **/*.md

Check failure on line 6 in .github/workflows/markdown.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/markdown.yml

Invalid workflow file

You have an error in your yaml syntax on line 6
permissions:
pull-requests: read
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Run linter
id: markdownlint
uses: docker://avtodev/markdown-lint:v1
with:
config: .markdownlint.yaml
args: '**/*.md'
output: ./markdownlint.txt
- name: Create Issue From File
if: steps.markdownlint.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Markdown Lint Report
content-filepath: ./markdownlint.txt
labels: report, bot-generated