Skip to content

Refine workflow triggers and concurrency - #147

Merged
C-Achard merged 2 commits into
mainfrom
cy/ci-concurrency
Nov 26, 2026
Merged

C-Achard merged 2 commits into
mainfrom
cy/ci-concurrency

Conversation

@C-Achard

Copy link
Copy Markdown
Collaborator

Run tests only for relevant paths while preserving tag releases. Cancel superseded pull request runs without interrupting push or deployment workflows.

Run tests only for relevant paths while preserving tag releases. Cancel superseded pull request runs without interrupting push or deployment workflows.
@C-Achard C-Achard self-assigned this Nov 25, 2026
@C-Achard
C-Achard requested a balanced review from Copilot November 25, 2026 17:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Non-PR runs share a per-ref concurrency group, so overlapping pushes can cancel pending test runs even with cancel-in-progress disabled; use a unique run ID for non-PR events.

1 open issue
What changed in this PR

This PR reduces unnecessary CI runs and adjusts cancellation behavior for the test, deployment, and documentation workflows while preserving tag-triggered releases.

Changes:

  • Filter branch-push and pull-request test runs to relevant source, example, packaging, and workflow paths.
  • Add test workflow concurrency with in-progress cancellation limited to pull requests.
  • Limit documentation workflow in-progress cancellation to pull requests.
File Description
.github/​workflows/​test_and_deploy.yml Adds path filters and concurrency settings while retaining tag release triggers.
.github/​workflows/​build_docs.yml Restricts in-progress cancellation to pull-request events.

Review effort: Balanced

Comment thread .github/workflows/test_and_deploy.yml Resolved
@C-Achard
C-Achard merged commit c064dcd into main Nov 26, 2026
10 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.

2 participants