Pass nexus secrets 71/14871/1
authorRavi Pendurty <ravi.pendurty@highstreet-technologies.com>
Thu, 4 Sep 2025 11:01:37 +0000 (16:31 +0530)
committerRavi Pendurty <ravi.pendurty@highstreet-technologies.com>
Thu, 4 Sep 2025 11:01:37 +0000 (16:31 +0530)
pass secrets as env vars

Issue-ID: OAM-495
Change-Id: Idf89bafa1b9a57a6762a762ba2ed590bb2fbb132
Signed-off-by: Ravi Pendurty <ravi.pendurty@highstreet-technologies.com>
.github/workflows/gerrit-merge-oam-oam-controller.yaml

index 2c639f3..9f3d6dd 100644 (file)
@@ -82,9 +82,9 @@ jobs:
 
   maven-merge:
     needs: [notify, sanitize]
-    # use compose-jjb-verify from the v0.4 series of releng-reusable-workflows
-    # yamllint disable-line rule:line-length
     uses: ravipendurty/releng-reusable-workflows/.github/workflows/compose-make-merge.yaml@main
+    secrets:                                                 # forward secrets
+      NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
     with:
       # GERRIT_BRANCH: ${{ inputs.GERRIT_BRANCH }}
       # GERRIT_CHANGE_ID: ${{ inputs.GERRIT_CHANGE_ID }}
@@ -119,4 +119,4 @@ jobs:
           known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
           gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
           gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
-          vote-type: ${{ env.WORKFLOW_CONCLUSION }}
\ No newline at end of file
+          vote-type: ${{ env.WORKFLOW_CONCLUSION }}