Skip to content

opt(ci): add concurrency to auto-cancel unnecessary ci jobs to save resources#664

Merged
Xiaoming-AMD merged 1 commit intomainfrom
dev/lhz/ci
Apr 13, 2026
Merged

opt(ci): add concurrency to auto-cancel unnecessary ci jobs to save resources#664
Xiaoming-AMD merged 1 commit intomainfrom
dev/lhz/ci

Conversation

@lhzhang333
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

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.

Pull request overview

Adds workflow-level concurrency to the CI GitHub Actions workflow to automatically cancel superseded runs, reducing wasted CI capacity when new commits are pushed.

Changes:

  • Introduces a concurrency configuration for the ci.yaml workflow.
  • Enables cancel-in-progress to stop older runs in the same concurrency group.

pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.event.merge_group.head_ref || github.ref }}
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.event.merge_group.head_ref || github.ref }}
@Xiaoming-AMD Xiaoming-AMD merged commit a5f1193 into main Apr 13, 2026
8 of 9 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.

3 participants