Skip to content

ci: every PR commit runs CI twice (push + pull_request) — add a concurrency group #236

Description

@LiorFink00

Follow-up found during the July review/merge cycle.

.github/workflows/ci.yml triggers on both push and pull_request, so each push to a PR branch spawns two full CI runs on the same commit. Observed repeatedly this cycle (e.g. the same macOS leg producing one pass + one flaky fail for one commit), which doubles cost and doubles flake exposure per commit.

Proposed fix: add a concurrency group keyed on the workflow + ref with cancel-in-progress: true, and/or scope the triggers (e.g. push only on main, pull_request for PRs) so each commit runs the suite once.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci/cdCI/CD related issues

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions