fix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2025-01-11 13:49:51 +01:00
parent 77d05231e5
commit f38d0ddbb5
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 30 additions and 20 deletions

View File

@ -0,0 +1,28 @@
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

View File

@ -4,8 +4,8 @@ on:
pull_request: pull_request:
paths: [ "**/*.md" ] paths: [ "**/*.md" ]
types: [ "opened", "reopened", "synchronize" ] types: [ "opened", "reopened", "synchronize" ]
push: {} push:
# paths: [ "**/*.md" ] paths: [ "**/*.md" ]
workflow_dispatch: {} workflow_dispatch: {}
jobs: jobs:
@ -40,21 +40,3 @@ jobs:
run: | run: |
npm install npm install
npm run readme:lint 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 install
npm run readme:parameters
- name: Compare diff
run: git diff --exit-code --name-only README.md