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

35 lines
853 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
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
apk add git
2025-01-11 11:42:11 +00:00
- uses: actions/checkout@v4.2.2
2025-01-11 12:15:40 +00:00
# - name: Install build tools
# run: |
# apt update --yes
# apt install --yes build-essential
2025-01-11 12:10:56 +00:00
- name: Verify links in markdown files
env:
CONTAINER_RUNTIME: docker
2025-01-11 12:07:06 +00:00
HELM_IMAGE_REGISTRY_HOST: harbor.cryptic.systems
HELM_IMAGE_REPOSITORY: docker/library/node
run: |
2025-01-11 12:30:48 +00:00
pwd
2025-01-11 12:15:40 +00:00
ls -la $(pwd)
2025-01-11 12:07:06 +00:00
make container-run/readme/link