aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Sawicki <contact@grub4k.xyz>2023-11-19 16:05:13 +0100
committerGitHub <noreply@github.com>2023-11-19 16:05:13 +0100
commitf124fa458826308afc86cf364c509f857686ecfd (patch)
treedd275b05e6732502f649fa1e6f51d9ac1709eb62
parent585d0ed9abcfcb957f2b2684b8ad43c3af160383 (diff)
[ci] Concurrency optimizations (#8614)
Authored by: Grub4K
-rw-r--r--.github/workflows/core.yml4
-rw-r--r--.github/workflows/release-master.yml1
2 files changed, 4 insertions, 1 deletions
diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml
index 3c10fc17e..b1ae4ae76 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 0208b3bef..0664137a9 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