From 29c38df8f16621bfd6d92bc0551cee7dae15130c Mon Sep 17 00:00:00 2001 From: Jishnu Bhattacharya Date: Tue, 13 Jun 2023 12:00:00 +0530 Subject: [PATCH] rename CI concurrent group, cancel concurrent downstream (#375) --- .github/workflows/ci.yml | 5 ++++- .github/workflows/downstream.yml | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9440ceaa..90bd6813 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,12 +1,15 @@ name: CI + concurrency: - group: build-${{ github.event.pull_request.number || github.ref }} + group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }} cancel-in-progress: true + on: push: branches: - master pull_request: + jobs: pre_job: # continue-on-error: true # Uncomment once integration is finished diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 7ce38fd0..879e385b 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -1,4 +1,9 @@ name: IntegrationTest + +concurrency: + group: build-${{ github.event.pull_request.number || github.ref }}-${{ github.workflow }} + cancel-in-progress: true + on: push: branches: [master]