From 4589f7260d02b6a86d5d8ccbf43bf82bf9f6da67 Mon Sep 17 00:00:00 2001 From: Nitesh Sandal Date: Thu, 16 Jul 2026 17:20:49 -0400 Subject: [PATCH] Add integration-test creds to the publish job The publish job runs sonatypeCentralUpload, which re-runs :test, but its env only injected the filestorage creds. The ats/chat/crm/hris/ knowledgebase/ticketing integration tests then threw on missing MERGE_API_KEY_SECONDARY / account tokens and failed the release. Inject the same per-category secrets the test job uses so the publish build's test run has creds. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d18e680..f4d8f6dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,5 +77,12 @@ jobs: MAVEN_SIGNATURE_SECRET_KEY: ${{ secrets.MAVEN_SIGNATURE_SECRET_KEY }} MAVEN_SIGNATURE_PASSWORD: ${{ secrets.MAVEN_SIGNATURE_PASSWORD }} MERGE_API_KEY_FILESTORAGE: ${{ secrets.MERGE_API_KEY_FILESTORAGE }} + MERGE_API_KEY_SECONDARY: ${{ secrets.MERGE_API_KEY_SECONDARY }} + MERGE_ACCOUNT_TOKEN_ATS: ${{ secrets.MERGE_ACCOUNT_TOKEN_ATS }} + MERGE_ACCOUNT_TOKEN_CHAT: ${{ secrets.MERGE_ACCOUNT_TOKEN_CHAT }} + MERGE_ACCOUNT_TOKEN_CRM: ${{ secrets.MERGE_ACCOUNT_TOKEN_CRM }} MERGE_ACCOUNT_TOKEN_FILESTORAGE: ${{ secrets.MERGE_ACCOUNT_TOKEN_FILESTORAGE }} + MERGE_ACCOUNT_TOKEN_HRIS: ${{ secrets.MERGE_ACCOUNT_TOKEN_HRIS }} + MERGE_ACCOUNT_TOKEN_KNOWLEDGEBASE: ${{ secrets.MERGE_ACCOUNT_TOKEN_KNOWLEDGEBASE }} + MERGE_ACCOUNT_TOKEN_TICKETING: ${{ secrets.MERGE_ACCOUNT_TOKEN_TICKETING }}