You've already forked prometheus-postgres-exporter
							
							
		
			
				
	
	
		
			33 lines
		
	
	
		
			718 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			718 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Generate README
 | |
| 
 | |
| on:
 | |
|   pull_request:
 | |
|     paths: [ "README.md", "values.yaml" ]
 | |
|     types: [ "opened", "reopened", "synchronize" ]
 | |
|   push:
 | |
|     branches:
 | |
|     - '**'
 | |
|     paths: [ "README.md", "values.yaml" ]
 | |
|     tags-ignore:
 | |
|     - '**'
 | |
|   workflow_dispatch: {}
 | |
| 
 | |
| jobs:
 | |
|   generate-parameters:
 | |
|     container:
 | |
|       image: docker.io/library/node:24.11.0-alpine
 | |
|     runs-on:
 | |
|     - ubuntu-latest
 | |
|     steps:
 | |
|     - name: Install tooling
 | |
|       run: |
 | |
|         apk update
 | |
|         apk add git npm
 | |
|     - uses: actions/checkout@v5.0.0
 | |
|     - 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
 |