Skip to content

DEVOPS-1077: Fix concurrency group to use github.ref instead of github.head_ref - #48

Merged
RomFloreani merged 1 commit into
developfrom
DEVOPS-1077-change-group-concurrency
Jun 29, 2026
Merged

DEVOPS-1077: Fix concurrency group to use github.ref instead of github.head_ref#48
RomFloreani merged 1 commit into
developfrom
DEVOPS-1077-change-group-concurrency

Conversation

@RomFloreani

@RomFloreani RomFloreani commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

DEVOPS-1077 - auto-cancel workflow upon new push to a branch
Change the workflow concurrency group key from github.head_ref || github.run_id to github.ref.

Part of DEVOPS-1077: change-group-concurrency

Authored using a powershell script with the help of CO-Pilot.

…thub.head_ref

Authored using a powershell script with the help of CO-Pilot.
Copilot AI review requested due to automatic review settings June 29, 2026 13:39
@github-actions github-actions Bot changed the title Fix concurrency group to use github.ref instead of github.head_ref DEVOPS-1077: Fix concurrency group to use github.ref instead of github.head_ref Jun 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the GitHub Actions concurrency group for the Python analysis workflow to key off github.ref, ensuring runs for the same ref (branch or PR merge ref) correctly cancel in-progress prior runs of the same workflow.

Changes:

  • Update workflow concurrency group from ${{ github.head_ref || github.run_id }} to ${{ github.ref }} to provide stable per-ref concurrency.
  • Keep cancel-in-progress: true behavior unchanged so newer runs supersede older ones for the same ref.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RomFloreani
RomFloreani merged commit 7657591 into develop Jun 29, 2026
17 checks passed
@RomFloreani
RomFloreani deleted the DEVOPS-1077-change-group-concurrency branch June 29, 2026 15:45
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