Skip to content

A feature-rich command-line audio/video downloader

[ci] Concurrency optimizations (#8614)

Simon Sawickif124fa458826
diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index 3c10fc17e7..b1ae4ae767 100644
--- a/.github/workflows/core.yml
+++ b/.github/workflows/core.yml
@@ -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
diff --git a/.github/workflows/release-master.yml b/.github/workflows/release-master.yml
index 0208b3bef1..0664137a94 100644
--- a/.github/workflows/release-master.yml
+++ b/.github/workflows/release-master.yml
@@ -10,7 +10,6 @@ on:
- "pyinst.py"
concurrency:
group: release-master
- cancel-in-progress: true
permissions:
contents: read