From c5290481499d211cc19bc0dc9ede7a92abb3b456 Mon Sep 17 00:00:00 2001 From: uhm0311 Date: Fri, 1 Dec 2023 17:02:22 +0900 Subject: [PATCH] TEST: Cancel previous CI when PR or branch is pushed. --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 623f47d59..8195ff6a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,10 @@ on: branches: - develop +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + jobs: test: runs-on: ubuntu-20.04