prometheus-postgres-exporter/.gitea/workflows/generate-readme.yaml

31 lines
692 B
YAML
Raw Normal View History

2025-01-11 11:36:09 +00:00
name: Generate README
on:
pull_request:
paths: [ "README.md", "values.yaml" ]
types: [ "opened", "reopened", "synchronize" ]
push:
paths: [ "README.md", "values.yaml" ]
tags-ignore:
- '**'
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
2025-01-12 15:55:02 +00:00
apk add git npm
2025-01-11 11:36:09 +00:00
- 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