Skip to content

Commit

Permalink
update REFERENCE.md in renovate PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMeier committed Jun 13, 2024
1 parent 5ce4c7d commit 661bc49
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,8 @@ jobs:
with:
configurationFile: renovate-config.json
token: ${{ secrets.PCCIBOT_PAT_REPO_PUBLIC_REPO }}
docker-user: root
renovate-image: ghcr.io/renovatebot/renovate
renovate-version: 37-full
env:
LOG_LEVEL: 'debug'
33 changes: 27 additions & 6 deletions renovate-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,49 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"onboarding": false,
"requireConfig": "optional",
"repositories": ["voxpupuli/puppet-prometheus"],
"extends": ["config:recommended"],
"enabledManagers": ["custom.regex"],
"repositories": [
"voxpupuli/puppet-prometheus"
],
"extends": [
"config:recommended"
],
"enabledManagers": [
"custom.regex"
],
"prHourlyLimit": 10,
"prConcurrentLimit": 20,
"branchConcurrentLimit": 30,
"customManagers": [
{
"customType": "regex",
"fileMatch": ["defaults.yaml"],
"fileMatch": [
"defaults.yaml"
],
"matchStrings": [
"# renovate: depName=(?<depName>[^\\s]+?)\\s+[a-z0-9:_]+?::version:\\s+['\"]?(?<currentValue>[\\w+\\.]*)"
],
"datasourceTemplate": "github-releases"
},
{
"customType": "regex",
"fileMatch": [".*_exporter.pp"],
"fileMatch": [
".*_exporter.pp"
],
"matchStrings": [
"# renovate: depName=(?<depName>[^\\s]+?)\\s+String\\[1\\]\\s+\\$version\\s+=\\s+['\"]?(?<currentValue>[\\w+\\.]*)"
],
"datasourceTemplate": "github-releases"
}

],
"postUpgradeTasks": {
"commands": [
"bundle install",
"bundle exec rake strings:generate:reference"
],
"executionMode": "branch"
},
"allowedPostUpgradeCommands": [
"^bundle install$",
"^bundle exec rake strings:generate:reference$"
]
}

0 comments on commit 661bc49

Please sign in to comment.