Skip to content

gha: Add conditional skip for jobs with 'ci/validate-only' label#50731

Merged
thaJeztah merged 1 commit intomoby:masterfrom
vvoland:gha-validate-only
Aug 14, 2025
Merged

gha: Add conditional skip for jobs with 'ci/validate-only' label#50731
thaJeztah merged 1 commit intomoby:masterfrom
vvoland:gha-validate-only

Conversation

@vvoland
Copy link
Copy Markdown
Contributor

@vvoland vvoland commented Aug 14, 2025

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.

@vvoland vvoland added this to the 29.0.0 milestone Aug 14, 2025
@vvoland vvoland self-assigned this Aug 14, 2025
@vvoland vvoland added kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. area/ci ci/validate-only labels Aug 14, 2025
@vvoland vvoland force-pushed the gha-validate-only branch from 9535f30 to a4d2499 Compare August 14, 2025 11:36
@vvoland vvoland requested a review from a team August 14, 2025 11:37
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]>
@vvoland vvoland force-pushed the gha-validate-only branch from a4d2499 to f0c069f Compare August 14, 2025 12:21
Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci ci/validate-only kind/enhancement Enhancements are not bugs or new features but can improve usability or performance. process/cherry-pick/25.0 process/cherry-picked

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants