group concurrency

This commit is contained in:
Evgeny Danienko 2022-05-11 16:18:56 +03:00
parent b2b327eaf4
commit 7c6357ecf6

View file

@ -8,6 +8,11 @@ on:
branches:
- master
types: [opened, synchronize, closed]
concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
tests:
if: (!(github.event.action == 'closed' && github.event.pull_request.merged != true))