From 597f07ccaed936e5c51162ed035c552aae97d204 Mon Sep 17 00:00:00 2001 From: Federico Di Pierro Date: Tue, 4 Apr 2023 16:02:28 +0200 Subject: [PATCH] update(ci): only set concurrency group for PRs. Signed-off-by: Federico Di Pierro Co-authored-by: Mauro Ezequiel Moltrasio --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 98d92f5f..7b7b05d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: # Checks if any concurrent jobs under the same pull request or branch are being executed # NOTE: this will cancel every workflow that is being ran as group is just the github ref (without the workflow name) concurrency: - group: ${{ github.ref }} + group: ${{ github.head_ref || github.run_id }} cancel-in-progress: true jobs: