From ab7c0f3a09cf7d4a9993ad11d5c8f6e392648fb1 Mon Sep 17 00:00:00 2001 From: ismay Date: Tue, 8 Oct 2024 11:25:18 +0200 Subject: [PATCH] fix: fix main branch ref in concurrency expression --- .github/workflows/test-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-and-release.yml b/.github/workflows/test-and-release.yml index 9e05061c..f9b8cf80 100644 --- a/.github/workflows/test-and-release.yml +++ b/.github/workflows/test-and-release.yml @@ -5,7 +5,7 @@ on: push concurrency: group: ${{ github.workflow }}-${{ github.ref }} # Cancel previous runs if not on a release branch - cancel-in-progress: ${{ !contains(fromJSON('["refs/heads/master", "ref/heads/main"]'), github.ref) }} + cancel-in-progress: ${{ !contains(fromJSON('["refs/heads/master", "refs/heads/main"]'), github.ref) }} jobs: lint-commits: