Skip to content

fix(ci): avoid duplicate push and pull_request runs#51

Merged
alexandrelam merged 1 commit into
mainfrom
fix/ci-duplicate-check-runs
Mar 25, 2026
Merged

fix(ci): avoid duplicate push and pull_request runs#51
alexandrelam merged 1 commit into
mainfrom
fix/ci-duplicate-check-runs

Conversation

@alexandrelam
Copy link
Copy Markdown
Owner

Summary

  • restrict push CI runs to main
  • keep PR validation on pull_request
  • remove the e2e job-level condition that created skipped duplicate statuses on feature-branch pushes

Root cause

The workflow was triggered by both push and pull_request for feature branch updates. On commits attached to an open PR, GitHub created both runs. The e2e job then skipped in the push run because it only allowed PRs or main, which surfaced as an extra skipped check.

Expected effect

PRs should now show only the pull_request checks, while merges to main still run the full push workflow.

@alexandrelam alexandrelam merged commit 8dae22c into main Mar 25, 2026
2 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