Add workflow concurrency control to prevent concurrent CI runs
Some checks failed
CI / test (pull_request) Failing after 23s
CI / test (push) Has been cancelled

Added concurrency groups to both CI and Deploy workflows to:
- Queue jobs per workflow and branch combination
- Cancel older runs when new commits are pushed
- Prevent resource conflicts on self-hosted runners

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Derek Slenk 2025-07-18 00:04:54 -04:00
parent 85746d52bf
commit 01eb5c9712
2 changed files with 8 additions and 0 deletions

View file

@ -6,6 +6,10 @@ on:
pull_request: pull_request:
branches: [ main, master ] branches: [ main, master ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
runs-on: self-hosted runs-on: self-hosted

View file

@ -5,6 +5,10 @@ on:
branches: [ main, master ] branches: [ main, master ]
workflow_dispatch: workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
deploy: deploy:
runs-on: self-hosted runs-on: self-hosted