Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

ci: add concurrency groups to 10 workflows missing them (#4964)

Jitendra Vermac55068a04969
diff --git a/.github/workflows/close-inactive.yml b/.github/workflows/close-inactive.yml
index 3b1d8836a..eeb258b93 100644
--- a/.github/workflows/close-inactive.yml
+++ b/.github/workflows/close-inactive.yml
@@ -5,6 +5,11 @@ on:
- cron: "17 9 * * *"
workflow_dispatch:
+concurrency:
+ # Only one cleanup sweep at a time.
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
permissions:
contents: read
issues: write
diff --git a/.github/workflows/release-browser-extension.yml b/.github/workflows/release-browser-extension.yml
index 64ccec6ee..e2f55fe30 100644
--- a/.github/workflows/release-browser-extension.yml
+++ b/.github/workflows/release-browser-extension.yml
@@ -32,6 +32,11 @@ on:
required: false
default: true
+concurrency:
+ # Serialize releases — aborting a release mid-flight is worse than waiting.
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
jobs:
publish:
runs-on: ubuntu-24.04
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.yml
index e003f228d..ef06c6ec0 100644
--- a/.github/workflows/release-cli.yml
+++ b/.github/workflows/release-cli.yml
@@ -13,6 +13,11 @@ on:
- main
workflow_dispatch:
+concurrency:
+ # Serialize releases — aborting a release mid-flight is worse than waiting.
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: false
+
permissions:
contents: write
diff --git a/.github/workflows/release-enterprise.yml b/.github/workflows/release-enterprise.yml
index 0e4bc0391..1a37e7337 100644
--- a/.github/workflows/release-enterprise.yml
+++ b/.github/workflows/release-enterprise.yml
@@ -13,6 +13,11 @@ name: Release Enterprise
on:
workflow_dispatch:
+concurrency:
+ # Serialize releases — aborting a release mid-flight is worse than waiting.
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
env:
GIT_LFS_SKIP_SMUDGE: 1
diff --git a/.github/workflows/release-mcp.yml b/.github/workflows/release-mcp.yml
index c2381defa..5899a30b0 100644
--- a/.github/workflows/release-mcp.yml
+++ b/.github/workflows/release-mcp.yml
@@ -6,6 +6,11 @@ on:
- "mcp-v*"
workflow_dispatch:
+concurrency:
+ # Serialize releases — aborting a release mid-flight is worse than waiting.
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: false
+
permissions:
contents: write
id-token: write # OIDC auth for the MCP Registry (io.github.screenpipe namespace)
diff --git a/.github/workflows/sdk-release.yml b/.github/workflows/sdk-release.yml
index fbdb973bb..9a0b04d9c 100644
--- a/.github/workflows/sdk-release.yml
+++ b/.github/workflows/sdk-release.yml
@@ -28,6 +28,11 @@ on:
required: true
default: "dry-run"
+concurrency:
+ # Serialize releases — aborting a release mid-flight is worse than waiting.
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
permissions:
contents: read
id-token: write
diff --git a/.github/workflows/sentry-cleanup.yml b/.github/workflows/sentry-cleanup.yml
index fbac5155b..7783b70d7 100644
--- a/.github/workflows/sentry-cleanup.yml
+++ b/.github/workflows/sentry-cleanup.yml
@@ -20,6 +20,11 @@ on:
type: boolean
default: false
+concurrency:
+ # Prevent overlapping cleanup runs (schedule + dispatch + post-release).
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
env:
GIT_LFS_SKIP_SMUDGE: 1
diff --git a/.github/workflows/sync-skills.yml b/.github/workflows/sync-skills.yml
index a30475c95..2774377b7 100644
--- a/.github/workflows/sync-skills.yml
+++ b/.github/workflows/sync-skills.yml
@@ -20,6 +20,11 @@ on:
- "crates/screenpipe-core/assets/skills/**"
workflow_dispatch:
+concurrency:
+ # Serialize sync runs so parallel pushes don't race the commit.
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
permissions:
contents: write
pull-requests: write
diff --git a/.github/workflows/test-cli-npm.yml b/.github/workflows/test-cli-npm.yml
index 8a893de15..d321e5438 100644
--- a/.github/workflows/test-cli-npm.yml
+++ b/.github/workflows/test-cli-npm.yml
@@ -3,6 +3,11 @@ name: Test CLI npm (blank slate)
on:
workflow_dispatch:
+concurrency:
+ # Only one manual test run at a time.
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
jobs:
test-macos-arm64:
runs-on: macos-latest # Apple Silicon (M1)
diff --git a/.github/workflows/test-signing.yml b/.github/workflows/test-signing.yml
index 15e60ce5a..9d7b73625 100644
--- a/.github/workflows/test-signing.yml
+++ b/.github/workflows/test-signing.yml
@@ -8,6 +8,11 @@ name: Test Code Signing
on:
workflow_dispatch:
+concurrency:
+ # Only one manual test run at a time.
+ group: ${{ github.workflow }}
+ cancel-in-progress: false
+
jobs:
test-signing:
runs-on: windows-2022