]> jfr.im git - yt-dlp.git/blobdiff - .github/workflows/core.yml
[ci] Concurrency optimizations (#8614)
[yt-dlp.git] / .github / workflows / core.yml
index 3c10fc17e7c8caba285bb6bb1227e280903c5b0d..b1ae4ae767016ec561ddda9e7959908d41d1426c 100644 (file)
@@ -3,6 +3,10 @@ on: [push, pull_request]
 permissions:
   contents: read
 
+concurrency:
+  group: core-${{ github.event.pull_request.number || github.ref }}
+  cancel-in-progress: ${{ github.event_name == 'pull_request' }}
+
 jobs:
   tests:
     name: Core Tests