Skip to content

Commit

Permalink
Add appropriate labels from Renovate PRs (jenkinsci#2648)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored Nov 9, 2023
1 parent 97ca6c4 commit 6591734
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
15 changes: 13 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@
"extends": ["config:base", ":semanticCommitsDisabled", "schedule:daily"],
"enabledManagers": ["regex"],
"automerge": true,
"regexManagers": [
"customManagers": [
{
"customType": "regex",
"fileMatch": ["prep-pct.sh"],
"matchStrings": ["pct_version=(?<currentValue>.*?)\\n"],
"depNameTemplate": "org.jenkins-ci.tests:plugins-compat-tester-cli",
"datasourceTemplate": "maven",
"registryUrlTemplate": "https://repo.jenkins-ci.org/releases/"
},
{
"customType": "regex",
"fileMatch": ["sample-plugin/pom.xml"],
"matchStrings": [
"\\n\\s{4}<jenkins\\.version>(?<currentValue>.*?)<\\\/jenkins\\.version>\\n"
Expand All @@ -21,6 +23,15 @@
"registryUrlTemplate": "https://repo.jenkins-ci.org/releases/"
}
],
"labels": ["dependencies"],
"packageRules": [
{
"matchDepNames": ["org.jenkins-ci.tests:plugins-compat-tester-cli"],
"labels": ["dependencies", "full-test"]
},
{
"matchDepNames": ["org.jenkins-ci.main:jenkins-war"],
"labels": ["dependencies", "weekly-test"]
}
],
"rebaseWhen": "conflicted"
}
2 changes: 1 addition & 1 deletion sample-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<properties>
<changelist>999999-SNAPSHOT</changelist>
<bom>weekly</bom>
<jenkins.version>2.431</jenkins.version>
<jenkins.version>2.430</jenkins.version>
<spotless.check.skip>false</spotless.check.skip>
</properties>
<dependencyManagement>
Expand Down

0 comments on commit 6591734

Please sign in to comment.