prometheus-postgres-exporter/.gitea/workflows/generate-readme.yaml
Markus Pesch 21836a8584
All checks were successful
Markdown linter / markdown-lint (push) Successful in 27s
Generate README / generate-parameters (push) Successful in 30s
Markdown linter / markdown-link-checker (push) Successful in 28s
continuous-integration/drone/push Build is passing
test
2025-01-11 13:50:30 +01:00

29 lines
662 B
YAML

name: Generate README
on:
pull_request:
paths: [ "README.md", "values.yaml" ]
types: [ "opened", "reopened", "synchronize" ]
push:
# paths: [ "README.md", "values.yaml" ]
workflow_dispatch: {}
jobs:
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 install
npm run readme:parameters
- name: Compare diff
run: git diff --exit-code --name-only README.md