From 4f434c1953f1e92493cb748fe85434da738d3514 Mon Sep 17 00:00:00 2001 From: Joshua Sing Date: Fri, 8 Mar 2024 03:39:01 +1100 Subject: [PATCH] ci: fix concurrency cancel-in-progress for pull requests (#16) --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 98f31d4c..98c3e478 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -14,7 +14,7 @@ on: concurrency: group: "go-${{ github.workflow }}-${{ github.event.number || github.ref }}" - cancel-in-progress: "${{ github.event.action == 'push' || github.event.action == 'pull_request' }}" + cancel-in-progress: "${{ github.event_name == 'pull_request' }}" permissions: contents: read