Skip to content

experimental: markdown lint in CI #4

experimental: markdown lint in CI

experimental: markdown lint in CI #4

Workflow file for this run

name: Markdown
on:
pull_request:
paths:
- '**/*.md'
permissions:
contents: read
pull-requests: write
jobs:
lint-markdown:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Run markdown linter
id: markdownlint
#continue-on-error: true
uses: docker://avtodev/markdown-lint:v1
with:
config: .markdownlint.yml
args: '**/*.md'
output: ./markdownlint.txt
- name: Create Issue From File
if: ${{ failure() && steps.markdownlint.outcome == 'failure' }}
#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