Title: Update concurrency groups to prevent merge runs and pull request runs from canceling each other by Copilot · Pull Request #26257 · PowerShell/PowerShell · GitHub
Open Graph Title: Update concurrency groups to prevent merge runs and pull request runs from canceling each other by Copilot · Pull Request #26257 · PowerShell/PowerShell
X Title: Update concurrency groups to prevent merge runs and pull request runs from canceling each other by Copilot · Pull Request #26257 · PowerShell/PowerShell
Description: Summary Updated the concurrency group configuration in the CI workflow files to include github.event_name, ensuring that merge runs (push events) and pull request runs (pull_request events) operate in separate concurrency groups and don't cancel each other. Problem The previous concurrency group configuration used only github.workflow and github.ref: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: ${{ contains(github.ref, 'merge')}} While this typically worked because merge runs and PR runs usually have different refs, it wasn't explicitly guaranteed and could lead to edge cases where different event types might interfere with each other. Solution Added github.event_name to the concurrency group: concurrency: group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} cancel-in-progress: ${{ contains(github.ref, 'merge')}} This creates distinct concurrency groups for different event types: Pull request validation: Windows-CI-pull_request-refs/pull/123/merge Merge to master: Windows-CI-push-refs/heads/master Manual workflow dispatch: Windows-CI-workflow_dispatch-refs/heads/branch-name Benefits ✅ Pull request validation runs and merge runs can execute in parallel without canceling each other ✅ Different event types are explicitly isolated in separate concurrency groups ✅ Runs of the same event type for the same ref can still cancel each other when appropriate ✅ Future-proof against edge cases and workflow trigger changes ✅ Consistent behavior across all CI platforms (Windows, Linux, macOS) Files Changed .github/workflows/windows-ci.yml .github/workflows/linux-ci.yml .github/workflows/macos-ci.yml Original prompt Update the concurrency group in .github/workflows/windows-ci.yml so that merge runs and pull request runs don't cancel each other. ✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
Open Graph Description: Summary Updated the concurrency group configuration in the CI workflow files to include github.event_name, ensuring that merge runs (push events) and pull request runs (pull_request events) operate...
X Description: Summary Updated the concurrency group configuration in the CI workflow files to include github.event_name, ensuring that merge runs (push events) and pull request runs (pull_request events) operate...
Opengraph URL: https://github.com/PowerShell/PowerShell/pull/26257
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1a8bf6c5-49eb-b1b5-fecd-091dfc7fc72b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB54:269C07:2C08CA1:2D40F9A:6A59119E |
| html-safe-nonce | 44496c94865edd660b53b2db0724dc1690e0352e95d7c24d341a6d626f77b54d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjU0OjI2OUMwNzoyQzA4Q0ExOjJENDBGOUE6NkE1OTExOUUiLCJ2aXNpdG9yX2lkIjoiNjEyMjg0NTMwNTI1NDI1Mjk1OCIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9 |
| visitor-hmac | c064b033e8564d700fa54959becb5ab2b70dcdb7fbc9672b06be957cea109527 |
| hovercard-subject-tag | pull_request:2931516058 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/PowerShell/PowerShell/pull/26257/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | Summary Updated the concurrency group configuration in the CI workflow files to include github.event_name, ensuring that merge runs (push events) and pull request runs (pull_request events) operate... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4eb8ea312922ccce63e833964f9606d971cffb2d5b6c10a62c4a7dcc48d826e2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 886a6c6fbce3d3caad5b3b995ef09ff6ca23f10e |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width