]> jfr.im git - yt-dlp.git/commitdiff
[ci] Concurrency optimizations (#8614)
authorSimon Sawicki <redacted>
Sun, 19 Nov 2023 15:05:13 +0000 (16:05 +0100)
committerGitHub <redacted>
Sun, 19 Nov 2023 15:05:13 +0000 (16:05 +0100)
Authored by: Grub4K

.github/workflows/core.yml
.github/workflows/release-master.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
index 0208b3bef16fa064d0757834ce6762b95385a3a3..0664137a94d8364e650835961370b658758d6324 100644 (file)
@@ -10,7 +10,6 @@ on:
       - "pyinst.py"
 concurrency:
   group: release-master
-  cancel-in-progress: true
 permissions:
   contents: read