Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

build: cancel concurrent PR jobs on new commit (#4517)

Steffen Schmitzfba7f4f0c312
diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml
index 2bf0ea109b..35f590d3db 100644
--- a/.github/workflows/pipeline.yml
+++ b/.github/workflows/pipeline.yml
@@ -10,7 +10,11 @@ on:
merge_group:
pull_request:
branches:
- - "*"
+ - "**"
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml
index ddf536688d..3bd243d3e3 100644
--- a/.github/workflows/snyk.yml
+++ b/.github/workflows/snyk.yml
@@ -8,6 +8,10 @@ on:
- main
merge_group:
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
jobs:
snyk:
runs-on: ubuntu-latest