From 71263db0ccc7753a110ac767568ce129be9fd8ec Mon Sep 17 00:00:00 2001 From: Ignasi Marimon-Clos Date: Fri, 6 Aug 2021 18:43:59 +0200 Subject: [PATCH] Abort scala3 jobs when pushing new commits on the PR (#30500) --- .github/workflows/scala3-build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/scala3-build.yml b/.github/workflows/scala3-build.yml index 1317dd5913..77c016e627 100644 --- a/.github/workflows/scala3-build.yml +++ b/.github/workflows/scala3-build.yml @@ -7,6 +7,12 @@ on: - master tags-ignore: [ v.* ] + +concurrency: + # Only run once for latest commit per ref and cancel other (previous) runs. + group: ci-scala3-${{ github.ref }} + cancel-in-progress: true + jobs: test: name: Test