prometheus-postgres-exporter/.gitea/workflows/markdown-linters.yaml
Markus Pesch a3eca9fd7f
Some checks failed
Markdown linter / markdown-lint (push) Successful in 27s
Markdown linter / markdown-link-checker (push) Successful in 27s
Markdown linter / generate-parameters (push) Failing after 12s
continuous-integration/drone/push Build is passing
asd
2025-01-11 13:42:00 +01:00

55 lines
1.2 KiB
YAML

name: Markdown linter
on:
pull_request:
paths: [ "**/*.md" ]
types: [ "opened", "reopened", "synchronize" ]
push: {}
# paths: [ "**/*.md" ]
workflow_dispatch: {}
jobs:
markdown-link-checker:
container:
image: docker.io/library/node:22.9.0-alpine
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git
- uses: actions/checkout@v4.2.2
- name: Verify links in markdown files
run: npm install && npm run readme:link
markdown-lint:
container:
image: docker.io/library/node:22.9.0-alpine
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git
- uses: actions/checkout@v4.2.2
- name: Link markdown files
run: npm install && npm run readme:lint
generate-parameters:
container:
image: docker.io/library/node:22.9.0-alpine
runs-on:
- ubuntu-latest
steps:
- name: Install tooling
run: |
apk update
apk add git
- uses: actions/checkout@v4.2.2
- name: Generate parameter section in README
run: npm run readme:parameters
- name: Compare diff
run: git diff --exit-code --name-only README.md