diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 3c10fc17e7c..b1ae4ae7670 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 0208b3bef16..0664137a94d 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