ci(github): add concurrency restrictions (#25163)

This commit is contained in:
Liam DeBeasi
2022-04-21 00:32:20 +05:45
committed by GitHub
parent 9e514c31f5
commit c6afacbb7d

View File

@ -4,6 +4,13 @@ on:
pull_request:
branches: [ '**' ]
# When pushing a new commit we should
# cancel the previous test run to not
# consume more runners than we need to.
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build-core:
runs-on: ubuntu-latest