CI: Set merge job gerrit-review-action to comment-only 17/15117/1
authorModeSevenIndustrialSolutions <mwatkins@linuxfoundation.org>
Mon, 6 Oct 2025 08:46:34 +0000 (09:46 +0100)
committerModeSevenIndustrialSolutions <mwatkins@linuxfoundation.org>
Mon, 6 Oct 2025 08:46:34 +0000 (09:46 +0100)
A merge job cannot vote on a Gerrit change, since the change will be merged
and votes cannot be placed on merged changes.

Issue-ID: CIMAN-33
Change-Id: Ia21ed52465936c90ab7430c8d7e54f7713b1b836
Signed-off-by: ModeSevenIndustrialSolutions <mwatkins@linuxfoundation.org>
.github/workflows/gerrit-merge.yaml

index 14ff9c6..3d9d6d5 100644 (file)
@@ -64,7 +64,7 @@ jobs:
           known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
           gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
           gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
-          vote-type: clear
+          comment-only: "true"
       - name: Allow replication
         run: sleep 10s
 
@@ -125,4 +125,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 }}
+          comment-only: "true"