prometheus-postgres-exporter/.gitea/workflows/markdown-linters.yaml

24 lines
542 B
YAML
Raw Normal View History

2025-01-11 11:36:09 +00:00
name: Markdown linter
on:
2025-01-11 11:37:50 +00:00
# pull_request:
# paths: [ "**/*.md" ]
# types: [ "opened", "reopened", "synchronize" ]
push: {}
# paths: [ "**/*.md" ]
2025-01-11 11:36:09 +00:00
workflow_dispatch: {}
jobs:
markdown-link-checker:
2025-01-11 12:30:48 +00:00
container:
image: docker.io/library/node:22.9.0-alpine
2025-01-11 12:32:14 +00:00
# options: --entrypoint /bin/sh
2025-01-11 11:36:09 +00:00
runs-on:
- ubuntu-latest
steps:
2025-01-11 12:30:48 +00:00
- run: |
apk update
2025-01-11 12:32:59 +00:00
apk add git
2025-01-11 11:42:11 +00:00
- uses: actions/checkout@v4.2.2
2025-01-11 12:10:56 +00:00
- name: Verify links in markdown files
2025-01-11 12:33:54 +00:00
run: npm install && npm run readme:link