From 49a945b17122f9cfcb8f899aeea9e030cba20fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Kobyli=C5=84ski?= Date: Wed, 29 Apr 2026 14:25:30 +0200 Subject: [PATCH] ci: scope Maven Central publish to `maven-central` environment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `environment: maven-central` to the publish job. Deployment gating is configured on the GitHub environment side. CI YAML only — no build/code changes. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eee76cc..1f1e562 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,6 +99,7 @@ jobs: name: Publish to Maven Central needs: [build, spring-compat, kafka-compat] runs-on: ubuntu-24.04 + environment: maven-central if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')) steps: - name: Checkout