{
  "id": 11511042,
  "title": "Adding Concurrency Cancellation to GitHub Actions Workflows to Save CI Minutes",
  "url": "https://urgent.news/2026/10/02/adding-concurrency-cancellation-to-github-actions-workflows-to-save",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-02T19:40:41.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/zaerohell/adding-concurrency-cancellation-to-github-actions-workflows-to-save-ci-minutes-1ik8"
  },
  "original_language": "en",
  "account": null,
  "summary": "The article discusses the implementation of concurrency cancellation in GitHub Actions workflows for the lavanderia-crm repository. The author faced issues with multiple parallel jobs fighting for resources and consuming unnecessary CI minutes due to overlapping runs on the same branch or pull request. The native GitHub feature, concurrency keyword with cancel-in-progress set to true, was introduced to address this issue. By grouping workflow runs by a unique key, such as the branch name for PR events and the branch name for direct pushes, the author ensured that each branch had its own concurrency group. This prevented overlapping runs and saved CI minutes, keeping the pipeline fast. The author successfully updated the .github/workflows/ci.yml and .github/workflows/e2e-production.yml workflows to include the concurrency and cancel-in-progress settings, resulting in more efficient CI operations.",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 2,
    "also_reported_by": [
      {
        "outlet": "Dev.to",
        "title": "Adding Concurrency with `cancel-in-progress` to GitHub Actions CI to Cut Build Minutes",
        "url": "https://urgent.news/2026/10/02/adding-concurrency-with-cancel-in-progress-to-github-actions-ci-to",
        "published": "2026-10-02T19:39:42.000Z"
      }
    ]
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}