chore: Initial attempt at Renovate workflow
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				renovate / renovate (push) Successful in 4m27s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	renovate / renovate (push) Successful in 4m27s
				
			This commit is contained in:
		
							
								
								
									
										27
									
								
								.gitea/workflows/renovate.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								.gitea/workflows/renovate.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| name: renovate | ||||
|  | ||||
| on: | ||||
|   workflow_dispatch: # allows the workflow to be run manually when desired | ||||
|     branches: | ||||
|       - main | ||||
|   schedule: # runs this workflow at the scheduled time (uses UTC, adjust for your timezone) | ||||
|     - cron: "0 12 * * *" | ||||
|   push: # runs this workflow when pushes to the main branch are made | ||||
|     branches: | ||||
|       - master | ||||
|  | ||||
| jobs: | ||||
|   renovate: | ||||
|     runs-on: ubuntu-latest | ||||
|     container: ghcr.io/renovatebot/renovate:latest | ||||
|     steps: | ||||
|       - name: Check out repository code | ||||
|         uses: actions/checkout@v4 | ||||
|       - name: Run Renovate CLI | ||||
|         run: | | ||||
|           renovate | ||||
|         env: | ||||
|           LOG_LEVEL: "debug" | ||||
|           RENOVATE_CONFIG_FILE: ${{ gitea.workspace }}/.renovate/config.js | ||||
|           RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} | ||||
|           #GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }} # optional | ||||
							
								
								
									
										13
									
								
								.renovate/config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.renovate/config.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| module.exports = { | ||||
| 	platform: 'gitea', | ||||
| 	endpoint: 'https://code.spamasaurus.com/api/v1/', // set this to the url of your gitea instance | ||||
| 	gitAuthor: 'Renovate Bot <gitea.danny@spamasaurus.com>', // set the email address to whatever email your gave this user in your gitea | ||||
| 	username: 'srv.renovate', | ||||
| 	autodiscover: true, | ||||
| 	onboardingConfig: { | ||||
| 		$schema: 'https://docs.renovatebot.com/renovate-schema.json', | ||||
| 		extends: ['config:recommended'], | ||||
| 	}, | ||||
| 	optimizeForDisabled: true, | ||||
| 	persistRepoData: true, | ||||
| }; | ||||
							
								
								
									
										12
									
								
								renovate.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								renovate.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| { | ||||
|     "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||||
|     "extends": ["config:recommended"], | ||||
|     "dependencyDashboard": true, | ||||
|     "dependencyDashboardTitle": "Renovate Dashboard", | ||||
|     "assignees": ["djpbessems"], | ||||
|     "configMigration": true, | ||||
|     "prHourlyLimit": 0, | ||||
|     "argocd": { | ||||
|         "managerFilePatterns": ["/\\.yaml$/"] | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user