Merge pull request #11681 from MikeMcQuaid/concurrency

workflows/tests: enable concurrency limiting.
This commit is contained in:
Mike McQuaid 2021-07-08 17:04:08 +01:00 committed by GitHub
commit 015c8bfe83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,19 @@
name: CI
on:
push:
branches:
- master
pull_request:
env:
HOMEBREW_DEVELOPER: 1
HOMEBREW_NO_AUTO_UPDATE: 1
concurrency:
group: "${{ github.ref }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
syntax:
if: github.repository == 'Homebrew/brew'