Skip to content

Commit a3d0704

Browse files
askbCopilot
andcommitted
CI: Bump gerrit-change-info to v0.1.7
v0.1.6 merged ssh stderr into the Gerrit JSON. OpenSSH 10 on the ubuntu-26.04 runners warns on stderr that the key exchange is not post-quantum, so every verify run failed with "Invalid JSON response from Gerrit". v0.1.7 keeps stderr out of the parsed output. Also take the vote job's change and patchset numbers from the workflow inputs, as the prepare job does. They came from the gerrit-change-info outputs, which are empty when that job fails, so the failure vote was never posted and Gerrit got no -1. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Change-Id: I5b1494da577c11dbad4dcbeb37c73542e5d575a0 Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
1 parent 692514b commit a3d0704

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/workflows/gerrit-verify.yaml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
- name: Gerrit change information
125125
if: ${{ env.ACT != 'true' }}
126126
id: gerrit-change-info
127-
uses: lfreleng-actions/gerrit-change-info@c22caf1804ff0c2be40b90da36a63c0da7b19d33 # v0.1.6
127+
uses: lfreleng-actions/gerrit-change-info@26b81b4b135ed1826b2e6f64301afbde8bc2246d # v0.1.7
128128
with:
129129
gerrit_change_url: ${{ inputs.GERRIT_CHANGE_URL }}
130130
gerrit_patchset_number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
@@ -204,6 +204,6 @@ jobs:
204204
username: ${{ vars.GERRIT_SSH_USER }}
205205
key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
206206
known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
207-
gerrit-change-number: ${{ needs.call-gerrit-change-info.outputs.GERRIT_CHANGE_NUMBER }}
208-
gerrit-patchset-number: ${{ needs.call-gerrit-change-info.outputs.GERRIT_PATCHSET_NUMBER }}
207+
gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
208+
gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
209209
vote-type: ${{ env.WORKFLOW_CONCLUSION }}

0 commit comments

Comments
 (0)