mirror of
				https://github.com/mgechev/revive.git
				synced 2025-10-30 23:37:49 +02:00 
			
		
		
		
	Update renovate.json config (#1221)
This commit is contained in:
		
							
								
								
									
										28
									
								
								.github/workflows/renovate.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/renovate.yaml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| name: Renovate | ||||
|  | ||||
| on: | ||||
|   pull_request: | ||||
|     paths: | ||||
|       - 'renovate.json' | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|  | ||||
| jobs: | ||||
|   validate-renovate-config: | ||||
|     name: Validate renovate.json | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - name: Checkout repository | ||||
|         uses: actions/checkout@v4 | ||||
|  | ||||
|       - name: Set up Node.js | ||||
|         uses: actions/setup-node@v4 | ||||
|         with: | ||||
|           node-version: '20' | ||||
|  | ||||
|       - name: Install Renovate | ||||
|         run: npm install -g renovate | ||||
|  | ||||
|       - name: Validate renovate.json | ||||
|         run: renovate-config-validator | ||||
| @@ -1,5 +1,16 @@ | ||||
| { | ||||
|   "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||||
|   "extends": [ | ||||
|     "config:base" | ||||
|     "config:recommended" | ||||
|   ], | ||||
|   "packageRules": [ | ||||
|     { | ||||
|       "matchManagers": ["gomod"], | ||||
|       "matchDepTypes": ["indirect"], | ||||
|       "enabled": true | ||||
|     } | ||||
|   ], | ||||
|   "postUpdateOptions": [ | ||||
|     "gomodTidy" | ||||
|   ] | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user