Skip to content

Conversation

ludfjig
Copy link
Contributor

@ludfjig ludfjig commented Mar 6, 2025

This is needed because gating on specific skippable jobs does not work when those jobs are skipped (for example during docs-only PRs). Inspired by wasmtime's main.yml ci job

See #334 for an docs-only PR where this happened.
image

…e gating on specific skippable jobs does not work when those jobs are skipped (for example during docs-only PRs)

Signed-off-by: Ludvig Liljenberg <[email protected]>
@ludfjig ludfjig added the area/infrastructure Concerns infrastructure rather than core functionality label Mar 6, 2025
@marosset marosset requested a review from Copilot March 6, 2025 19:00
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

PR Overview

This PR introduces a new CI job to gate PR merges by ensuring that all key jobs run, even in scenarios like docs-only PRs where some jobs might be skipped.

  • Adds a "report-ci-status" job that depends on the results of "docs-pr", "rust", "fuzzing", and "spelling" jobs.
  • Implements conditional steps to exit with success or failure based on the results of preceding jobs.

Reviewed Changes

File Description
.github/workflows/ValidatePullRequest.yml Added the "report-ci-status" job to reliably gate PR merges regardless of skipped jobs.

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Copy link
Contributor

@marosset marosset left a comment

Choose a reason for hiding this comment

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

I think we can give this a try!

@ludfjig ludfjig merged commit 2d2ea79 into hyperlight-dev:main Mar 6, 2025
24 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infrastructure Concerns infrastructure rather than core functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants