Add concurrency to GitHub workflows to auto-cancel older runs.

This commit is contained in:
Doug
2021-11-05 15:07:08 +00:00
parent 369c65d69b
commit 567146d526
4 changed files with 16 additions and 0 deletions
+5
View File
@@ -17,6 +17,11 @@ jobs:
tests:
name: Tests
runs-on: macos-11
# Only allow a single run of this workflow on each branch (cancel older runs automatically)
concurrency:
group: tests-${{ github.head_ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v2