Skip to content

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

Merged
RomFloreani merged 2 commits 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#208
RomFloreani merged 2 commits 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.
…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:38

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.

Pull request overview

Updates GitHub Actions workflow concurrency configuration to use the full github.ref value for concurrency grouping, aligning behavior across pull_request and push triggers and addressing DEVOPS-1077.

Changes:

  • Switched the concurrency group key from ${{ github.head_ref || github.run_id }} to ${{ github.ref }} in workflow concurrency groups.
  • Kept cancel-in-progress: true so newer runs on the same ref supersede in-progress runs for the same workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/security_scan.yml Updates concurrency group to use github.ref for consistent per-ref grouping.
.github/workflows/python_analysis.yml Updates concurrency group to use github.ref for consistent per-ref grouping.

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

@codecov

codecov Bot commented Jun 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.70%. Comparing base (324ac4f) to head (441a0e6).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #208      +/-   ##
===========================================
- Coverage    85.95%   85.70%   -0.26%     
===========================================
  Files           19       19              
  Lines         1196     1196              
  Branches       155      155              
===========================================
- Hits          1028     1025       -3     
- Misses         127      129       +2     
- Partials        41       42       +1     

see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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