summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDivy Srivastava <dj.srivastava23@gmail.com>2022-03-02 16:04:27 +0530
committerGitHub <noreply@github.com>2022-03-02 16:04:27 +0530
commitd8489b6f1fdefa24ff0a4dfe693520d7f7b727c4 (patch)
treeb88e241bbe1ceaf4e3232847bf13574314ac1be2
parent8b2989c417db9090913f1cb6074ae961f4c14d5e (diff)
chore: cancel old in-progress CI workflows (#13811)
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 961c6515a..8fbd00226 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2,6 +2,10 @@ name: ci
on: [push, pull_request]
+concurrency:
+ group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
+ cancel-in-progress: true
+
jobs:
build:
name: ${{ matrix.job }} ${{ matrix.profile }} ${{ matrix.os }}