From 1f6e2c4ee6258128542357db8988d46515ac99b5 Mon Sep 17 00:00:00 2001 From: messense Date: Wed, 23 Nov 2022 22:15:46 +0800 Subject: [PATCH] ci: remove `github.sha` from concurrency group Otherwise workflow runs on staging/trying branches won't be cancelled automatically. --- .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 a9f3d707..5deae75f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ on: workflow_dispatch: concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }} cancel-in-progress: true env: