[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:
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

View file

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