From 313dd3c7eaedd80e5cd7e381ad980bcd6f72e1f8 Mon Sep 17 00:00:00 2001 From: Masayuki Morita Date: Fri, 15 Oct 2021 18:33:31 +0900 Subject: [PATCH] Cancel test if stale --- .github/workflows/test.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 840332f..2ccbf9c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,6 +10,10 @@ on: branches: - master +concurrency: + group: test-${{ github.head_ref }} + cancel-in-progress: true + jobs: test: runs-on: ${{ matrix.os }}