Set workflow status 19/15119/1
authorRavi Pendurty <ravi.pendurty@highstreet-technologies.com>
Mon, 6 Oct 2025 13:39:16 +0000 (19:09 +0530)
committerRavi Pendurty <ravi.pendurty@highstreet-technologies.com>
Mon, 6 Oct 2025 13:39:16 +0000 (19:09 +0530)
Workflow status to be set to vote-type input

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

index 3d9d6d5..a2621af 100644 (file)
@@ -126,3 +126,7 @@ jobs:
           gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
           gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
           comment-only: "true"
+          # neutral, success, skipped, cancelled, timed_out, action_required, failure
+          # TODO: vote-type understands only "success", "failure", "cancelled" and "clear". Hence, the other values need to be somehow mapped
+          # to "vote-type" values.
+          vote-type: ${{ env.WORKFLOW_CONCLUSION }}