Skip to content

[28.x backport] gha: Add conditional skip for jobs with 'ci/validate-only' label#51039

Merged
vvoland merged 1 commit intomoby:28.xfrom
thaJeztah:28.x_backport_gha-validate-only
Sep 25, 2025
Merged

[28.x backport] gha: Add conditional skip for jobs with 'ci/validate-only' label#51039
vvoland merged 1 commit intomoby:28.xfrom
thaJeztah:28.x_backport_gha-validate-only

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

This change adds conditional logic to skip build and test jobs when a pull request is labeled with 'ci/validate-only'.

The govulncheck job in the CI workflow is intentionally excluded from this conditional logic, ensuring security vulnerability checks always run regardless of the label.

(cherry picked from commit f0c069f)

- What I did

- How I did it

- How to verify it

- Human readable description for the release notes

- A picture of a cute animal (not mandatory but encouraged)

This change adds conditional logic to skip build and test jobs when a
pull request is labeled with 'ci/validate-only'.

The `govulncheck` job in the CI workflow is intentionally excluded from
this conditional logic, ensuring security vulnerability checks always
run regardless of the label.

Signed-off-by: Paweł Gronowski <[email protected]>
(cherry picked from commit f0c069f)
Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 28.5.0 milestone Sep 24, 2025
@thaJeztah thaJeztah added status/2-code-review kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. area/testing ci/validate-only labels Sep 24, 2025
@vvoland vvoland merged commit dc504e1 into moby:28.x Sep 25, 2025
62 checks passed
@thaJeztah thaJeztah deleted the 28.x_backport_gha-validate-only branch September 25, 2025 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/testing ci/validate-only kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants