From 9677186a0198009aebe90f15fb88b056d1c4c53c Mon Sep 17 00:00:00 2001 From: uy/sun Date: Wed, 1 Jan 2025 19:07:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=A8=20startsWith=20=E6=9B=B4?= =?UTF-8?q?=E5=A5=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/noneflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/noneflow.yml b/examples/noneflow.yml index 9e8088c3..2a4a0241 100644 --- a/examples/noneflow.yml +++ b/examples/noneflow.yml @@ -12,7 +12,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.event.issue.number && format('publish/issue{0}', github.event.issue.number) || github.head_ref || github.run_id }} - cancel-in-progress: ${{ contains(github.head_ref, 'publish/issue')}} + cancel-in-progress: ${{ startsWith(github.head_ref, 'publish/issue')}} jobs: noneflow: