[ci] Concurrency optimizations (#8614)

Authored by: Grub4K
This commit is contained in:
Simon Sawicki 2023-11-19 16:05:13 +01:00 committed by GitHub
parent 585d0ed9ab
commit f124fa4588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,10 @@ on: [push, pull_request]
permissions: permissions:
contents: read contents: read
concurrency:
group: core-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs: jobs:
tests: tests:
name: Core Tests name: Core Tests

View File

@ -10,7 +10,6 @@ on:
- "pyinst.py" - "pyinst.py"
concurrency: concurrency:
group: release-master group: release-master
cancel-in-progress: true
permissions: permissions:
contents: read contents: read