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: stop cancelling main quality checks

Louis Beaumontfd44a9fc0b50
diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml
index b4f021ee1..3c780c1fa 100644
--- a/.github/workflows/style.yml
+++ b/.github/workflows/style.yml
@@ -3,8 +3,8 @@ name: Code Quality & Optimization
on: [push, pull_request]
concurrency:
- group: ${{ github.workflow }}-${{ github.ref }}
- cancel-in-progress: true
+ group: ${{ github.workflow }}-${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.sha || github.ref }}
+ cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
GIT_LFS_SKIP_SMUDGE: 1