CI: Add Gerrit change isolation verify workflow#46
Open
ModeSevenIndustrialSolutions wants to merge 1 commit into
Open
CI: Add Gerrit change isolation verify workflow#46ModeSevenIndustrialSolutions wants to merge 1 commit into
ModeSevenIndustrialSolutions wants to merge 1 commit into
Conversation
Add a dedicated organization-level required workflow that enforces change isolation on Gerrit patchsets, with its own independent Gerrit voting so the result is reported separately from other required checks. The workflow is a thin dispatcher: it clears the prior vote, then delegates the isolation logic to the centrally-managed reusable gerrit-compose-required-change-isolation-verify.yaml (v0.8.1) in lfit/releng-reusable-workflows, and finally votes the aggregated conclusion back to Gerrit. Keeping the logic in the shared reusable avoids bespoke per-repository CI code. All action references are SHA-pinned to their latest releases and the workflow passes zizmor --persona=auditor with zero findings (empty default permissions, minimal per-job scopes, documented actions:read). Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
zxiiro
approved these changes
Jul 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a dedicated organization-level required workflow that enforces
change isolation on Gerrit patchsets, with its own independent Gerrit
voting so its result is reported separately from other required checks.
Part of the effort to modernise the Linux Foundation Gerrit CI and
standardise on the centrally-managed reusable workflows in
lfit/releng-reusable-workflows(mirrors the already-modernised ONAPmodel).
Design
The workflow is a thin dispatcher (
on: workflow_dispatch, invoked by theGerrit → GitHub integration):
lfreleng-actions/gerrit-review-action.gerrit-compose-required-change-isolation-verify.yaml@v0.8.1. Nobespoke inline logic lives in this repository.
Gerrit (
im-open/workflow-conclusion@v3.0.0).Notes / follow-ups
uses:references are SHA-pinned to their latest releases.zizmor --persona=auditorwith zero findings (empty defaultpermissions, minimal per-job scopes, documentedactions: read). Thesecrets-outside-envallow-list is provided by the companion config PR(CI: Add zizmor auditor configuration #45), which should merge first.
existing
LFIT_GERRIT_*org vars/secrets for its own vote steps, and theshared reusable additionally reads the plain
vars.GERRIT_URLorgvariable for the Gerrit checkout. A repository Ruleset must map this
workflow as a required check for the target Gerrit-mirrored repos.
Validation
actionlint→ cleanyamllint→ cleanzizmor --persona=auditor --offline→ no findings