Merge branch 'values/parameters' of github.com:crowdsecurity/crowdsec… #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Generate values parameters | |
| on: | |
| push: | |
| branches: | |
| - values/parameters | |
| jobs: | |
| update_values_parameters: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| with: | |
| repository: crowdsecurity/helm-charts | |
| path: helm-charts | |
| - name: Set up Node.js (readme-generator requires Node 22.x) | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| - name: Install readme-generator-for-helm | |
| run: npm i -g @bitnami/[email protected] | |
| - name: Generate README.md & values.schema.json | |
| run: | | |
| find . | |
| readme-generator \ | |
| --values "helm-charts/charts/crowdsec/values.yaml" \ | |
| --readme "crowdsec-docs/docs/configuration/values_parameters.md" \ | |
| --schema "/tmp/schema.json" | |
| - name: Commit bump | |
| uses: EndBug/add-and-commit@v9 | |
| with: | |
| message: "chore(charts): regenerate values parameters" |