This commit is contained in:
		@@ -14,5 +14,5 @@ jobs:
 | 
			
		||||
      - run: renovate
 | 
			
		||||
        env:
 | 
			
		||||
          RENOVATE_CONFIG_FILE: "${{ gitea.workspace }}/config.js"
 | 
			
		||||
          LOG_LEVEL: "info"
 | 
			
		||||
          LOG_LEVEL: "debug"
 | 
			
		||||
          RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} 
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										24
									
								
								config.js
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								config.js
									
									
									
									
									
								
							@@ -1,11 +1,18 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
  "endpoint": "https://git.cynarski.pl/api/v1",
 | 
			
		||||
  "gitAuthor": "Renovate Bot <renovate@cynarski.pl>",
 | 
			
		||||
  "platform": "gitea",
 | 
			
		||||
  "onboardingConfigFileName": "renovate.json",
 | 
			
		||||
  "autodiscover": true,
 | 
			
		||||
  "optimizeForDisabled": true,
 | 
			
		||||
  labels: ['renovate'], // Labels for PRs
 | 
			
		||||
  endpoint: "https://git.cynarski.pl/api/v1",
 | 
			
		||||
  gitAuthor: "Renovate Bot <renovate@cynarski.pl>",
 | 
			
		||||
  platform: "gitea",
 | 
			
		||||
  onboardingConfigFileName: "renovate.json",
 | 
			
		||||
  autodiscover: true,
 | 
			
		||||
  autodiscoverTopics: ["managed-by-renovate"],
 | 
			
		||||
  recreateWhen: "always",
 | 
			
		||||
  reuseExistingBranch: true,
 | 
			
		||||
  dependencyDashboard: true,
 | 
			
		||||
  onboarding: true,
 | 
			
		||||
  prHourlyLimit: 0, // No hourly limit on PRs
 | 
			
		||||
  prConcurrentLimit: 20, // Concurrent PR limit
 | 
			
		||||
  branchPrefix: "update-deps/",
 | 
			
		||||
  labels: ['renovate', 'deps'], // Labels for PRs
 | 
			
		||||
  hostRules: [
 | 
			
		||||
    {
 | 
			
		||||
      "hostType": "github",
 | 
			
		||||
@@ -16,11 +23,12 @@ module.exports = {
 | 
			
		||||
    {
 | 
			
		||||
      fileMatch: ['^Dockerfile$'],
 | 
			
		||||
      matchStrings: [
 | 
			
		||||
        '# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) versioning=(?<versioning>\\S+)\\s+ENV \\w+=(?<currentValue>\\d+\\.\\d+\\.\\d+)'
 | 
			
		||||
        '# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+) versioning=(?<versioning>\\S+)\\s+ENV \\w+=(?<currentValue>v?[\\w\\.\\-]+)'
 | 
			
		||||
      ],
 | 
			
		||||
      datasourceTemplate: '{{{datasource}}}',
 | 
			
		||||
      packageNameTemplate: '{{{depName}}}',
 | 
			
		||||
      versioningTemplate: '{{{versioning}}}',
 | 
			
		||||
      extractVersionTemplate: "^v(?<version>.*)$"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user