fix
This commit is contained in:
parent
cc955c6178
commit
cc33ca2e0c
28
.gitea/workflows/generate-readme.yaml
Normal file
28
.gitea/workflows/generate-readme.yaml
Normal 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
|
@ -4,8 +4,8 @@ on:
|
||||
pull_request:
|
||||
paths: [ "**/*.md" ]
|
||||
types: [ "opened", "reopened", "synchronize" ]
|
||||
push: {}
|
||||
# paths: [ "**/*.md" ]
|
||||
push:
|
||||
paths: [ "**/*.md" ]
|
||||
workflow_dispatch: {}
|
||||
|
||||
jobs:
|
||||
@ -40,21 +40,3 @@ jobs:
|
||||
run: |
|
||||
npm install
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user