From ad88d9441650d8ebc1d343e5fc81e0168b9bba01 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 22 May 2023 11:29:23 -0600 Subject: [PATCH 1/2] Skip dependabot pull requests for Java major versions Avoid pull requests like: * https://github.com/jenkinsci/docker/pull/1602 * https://github.com/jenkinsci/docker/pull/1603 * https://github.com/jenkinsci/docker/pull/1604 --- .github/dependabot.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5b6c6c225b..1e5483cb60 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -54,6 +54,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] # Debian Linux @@ -68,6 +72,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] - package-ecosystem: docker directory: "17/debian/bullseye-slim/hotspot" @@ -80,6 +88,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] - package-ecosystem: docker directory: "11/debian/bullseye/hotspot" @@ -92,6 +104,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] - package-ecosystem: docker directory: "11/debian/bullseye-slim/hotspot" @@ -104,6 +120,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] # RHEL UBI @@ -118,6 +138,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] - package-ecosystem: docker directory: "17/rhel/ubi9/hotspot" @@ -130,6 +154,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] # Windows From 41115d52e143fa472a5c4c1d934c0b68b42b0377 Mon Sep 17 00:00:00 2001 From: Mark Waite Date: Mon, 22 May 2023 12:45:03 -0600 Subject: [PATCH 2/2] Avoid dependabot PR's upgrading Java version on Alpine Avoid pull requests like: * https://github.com/jenkinsci/docker/pull/1498 * https://github.com/jenkinsci/docker/pull/1492 * https://github.com/jenkinsci/docker/pull/1478 * https://github.com/jenkinsci/docker/pull/1465 --- .github/dependabot.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1e5483cb60..fa0e08e8f2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,6 +15,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] - package-ecosystem: docker directory: "11/alpine/hotspot" @@ -27,6 +31,10 @@ updates: - slide labels: - dependencies + ignore: + # Ignore proposals to update to new major versions of Java + - dependency-name: "eclipse-temurin" + update-types: ["version-update:semver-major"] # AlmaLinux