Skip to content

Fix E2E report job failing when E2E is skipped#196

Merged
nicnocquee merged 1 commit intomainfrom
fix/e2e-report-when-e2e-skipped
May 6, 2026
Merged

Fix E2E report job failing when E2E is skipped#196
nicnocquee merged 1 commit intomainfrom
fix/e2e-report-when-e2e-skipped

Conversation

@nicnocquee
Copy link
Copy Markdown
Member

Summary

The merge Playwright report job ran whenever the workflow finished, including when the e2e matrix was skipped (for example after a merge push to main). With no blob artifacts, playwright merge-reports exited with code 1 and failed the workflow.

The merge job now runs only when e2e actually completed with success or failure, so skipped e2e runs no longer break CI.

Important changes

  • Gate e2e_report on needs.e2e.result being success or failure, and skip when the workflow run was cancelled.

Other changes

  • Added a short comment in the workflow explaining why the condition exists.

Key files to review

  • .github/workflows/e2e.ymle2e_report if: condition.

How to test

  1. Open the Actions tab on this PR and confirm all workflow jobs succeed.
  2. After merge, push a merge commit to main (non-direct) and confirm the E2E workflow completes green while e2e is skipped.

@nicnocquee nicnocquee merged commit 3c9ca8f into main May 6, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant