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 7da5b27
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
- name: Checkout
uses: actions/[email protected]
- name: Renovate
uses: renovatebot/[email protected].11
uses: renovatebot/[email protected].12
with:
configurationFile: renovate-config.json
token: ${{ secrets.PCCIBOT_PAT_REPO_PUBLIC_REPO }}
renovate-image: ghcr.io/renovatebot/renovate
renovate-version: 37-full
env:
LOG_LEVEL: 'debug'
35 changes: 29 additions & 6 deletions renovate-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,51 @@
"$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 gem install rake",
"bundle exec rake strings:generate:reference"
],
"executionMode": "branch"
},
"allowedPostUpgradeCommands": [
"^bundle install$",
"^bundle exec gem install rake$",
"^bundle exec rake strings:generate:reference$"
]
}

0 comments on commit 7da5b27

Please sign in to comment.