From 2274c88c3bcbd7d1d3ffa04dff8080974f11beca Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Mon, 27 Jul 2026 18:22:59 +0000 Subject: [PATCH 1/3] ci: limit release job to Java toolchain Signed-off-by: Gregor Zeitlinger --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a30db041e..87796165f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,6 +15,8 @@ jobs: if: ${{ github.repository == 'prometheus/client_java' }} environment: release runs-on: ubuntu-24.04 + env: + MISE_ENABLE_TOOLS: java permissions: actions: write # required to trigger bump-api-diff-baseline.yml via `gh workflow run` From 4ea9f8e4c4e3fd481818daae1abeffe2b7df1497 Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Tue, 28 Jul 2026 08:32:48 +0000 Subject: [PATCH 2/3] docs: explain release mise isolation Signed-off-by: Gregor Zeitlinger --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87796165f..b37b8511c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,6 +16,7 @@ jobs: environment: release runs-on: ubuntu-24.04 env: + # Keep artifact releases isolated from unrelated mise tools and caches. MISE_ENABLE_TOOLS: java permissions: actions: write # required to trigger bump-api-diff-baseline.yml via `gh workflow run` From 7ac62e3e3ec6c8d2d13a5f359b9fd09e0bc0deed Mon Sep 17 00:00:00 2001 From: Gregor Zeitlinger Date: Tue, 28 Jul 2026 08:59:31 +0000 Subject: [PATCH 3/3] docs: clarify release cache policy Signed-off-by: Gregor Zeitlinger --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b37b8511c..2970100fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: environment: release runs-on: ubuntu-24.04 env: - # Keep artifact releases isolated from unrelated mise tools and caches. + # Artifact releases pair a focused tool allowlist with cache: false. MISE_ENABLE_TOOLS: java permissions: actions: write # required to trigger bump-api-diff-baseline.yml via `gh workflow run`