Skip to content

ci: update lint task for repo docs #17

ci: update lint task for repo docs

ci: update lint task for repo docs #17

Workflow file for this run

name: Lint
on:
pull_request:
branches: ["main"]
paths:
- "**.md"
- "LICENSE"
push:
branches: ["*"]
paths:
- "**.md"
- "LICENSE"
concurrency:
group: ${{ github.workflow}}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
format:
uses: trfore/ansible-role/.github/workflows/format.yml@main
lint:
uses: DavidAnson/markdownlint-cli2-action@v16

Check failure on line 23 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
config: ".markdownlint.yaml"
globs: "**/*.md"
check:
needs:
- format
- lint
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert set([
'${{ needs.format.result }}',
'${{ needs.lint.result }}',
]) == {'success'}"