Skip to content

Add concurrency configuration to build workflow#263

Merged
mborgerson merged 2 commits intomasterfrom
copilot/add-github-actions-concurrency
Apr 27, 2026
Merged

Add concurrency configuration to build workflow#263
mborgerson merged 2 commits intomasterfrom
copilot/add-github-actions-concurrency

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 27, 2026

Redundant CI runs on the same ref waste resources — new pushes to a branch would queue behind still-running runs for the previous commit.

Changes

  • .github/workflows/build.yml: Added top-level concurrency block that groups runs by workflow + ref and cancels any in-progress run when a new one is triggered.
concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true
Original prompt

Repository: angr/pypcode

Goal: Add GitHub Actions concurrency configuration to the existing workflow file so runs on the same ref are grouped and in-progress runs are canceled.

Target file:

  • .github/workflows/build.yml

Requested snippet to add (exact):

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

Requirements:

  1. Insert the concurrency block at the workflow top level (same level as name, on, permissions, jobs).
  2. Ensure YAML is valid and formatting consistent with the existing file.
  3. Open a pull request with these changes.

Context:

  • Workflow currently starts with name: Build then on: [push, pull_request] then permissions: then jobs:.
  • Base branch is master.

PR title suggestion: "Add concurrency to build workflow"

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: ```

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Create a PR to add concurrency configuration to the build.yml workflow



Assistant: I’m waiting for you to approve the pull request creation action in the confirmation dialog; once you do, I’ll add the `concurrency` block to `.github/workflows/build.yml` and open the PR.


This pull request was created from Copilot chat.

Agent-Logs-Url: https://github.com/angr/pypcode/sessions/1fefc66a-6a6e-4803-a0ed-d8538908cb4b

Co-authored-by: mborgerson <8210+mborgerson@users.noreply.github.com>
Copilot AI changed the title [WIP] Add concurrency to build workflow Add concurrency configuration to build workflow Apr 27, 2026
Copilot AI requested a review from mborgerson April 27, 2026 22:44
@mborgerson mborgerson marked this pull request as ready for review April 27, 2026 23:04
@mborgerson mborgerson merged commit 09e0af3 into master Apr 27, 2026
60 checks passed
@mborgerson mborgerson deleted the copilot/add-github-actions-concurrency branch April 27, 2026 23:04
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.57%. Comparing base (50cfc2f) to head (b53aec7).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #263   +/-   ##
=======================================
  Coverage   86.57%   86.57%           
=======================================
  Files           5        5           
  Lines         514      514           
  Branches       82       82           
=======================================
  Hits          445      445           
  Misses         27       27           
  Partials       42       42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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