From 36346618af5c2d8ecffef67d0df1c932d6abdaac Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 22 Nov 2024 17:47:07 -0700 Subject: [PATCH 1/2] Use dependabot config from archetype --- .github/dependabot.yml | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 6356eb5..03b4d66 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,16 +1,12 @@ -# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates ---- +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates + version: 2 updates: - - package-ecosystem: "maven" - directory: "/" - labels: - - "dependencies" - schedule: - interval: "monthly" - - package-ecosystem: "github-actions" - directory: "/" - labels: - - "skip-changelog" - schedule: - interval: "monthly" +- package-ecosystem: maven + directory: / + schedule: + interval: monthly +- package-ecosystem: github-actions + directory: / + schedule: + interval: monthly From 597cc8446d2782af040a691913dd9061b7dea38c Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Fri, 22 Nov 2024 19:08:50 -0700 Subject: [PATCH 2/2] Avoid bom version mismatches with jenkins.baseline The Jenkins plugin archetype uses jenkins.baseline to prevent inconsistencies between the minimum required Jenkins version and the Jenkins plugin bill of materials version. Use the same technique in this plugin. --- pom.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1f0330d..d5a66ee 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,8 @@ 1.20 -SNAPSHOT - 2.452.4 + 2.452 + ${jenkins.baseline}.4 Max Low jenkinsci/${project.artifactId}-plugin @@ -67,8 +68,8 @@ io.jenkins.tools.bom - bom-2.387.x - 2543.vfb_1a_5fb_9496d + bom-${jenkins.baseline}.x + 3613.v584fca_12cf5c import pom