From 66bdadc5fe3cead291cdd5ea2605ef98ee7ae639 Mon Sep 17 00:00:00 2001 From: uy/sun Date: Thu, 9 Jan 2025 00:08:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=E6=8B=89=E5=8F=96=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=92=8C=E7=9B=B8=E5=85=B3=E8=AE=AE=E9=A2=98=E6=94=BE?= =?UTF-8?q?=E5=9C=A8=E5=90=8C=E4=B8=80=E4=B8=AA=E5=B9=B6=E5=8F=91=E7=BB=84?= =?UTF-8?q?=20(#347)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/noneflow.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/noneflow.yml b/examples/noneflow.yml index c34232a3..4831f98b 100644 --- a/examples/noneflow.yml +++ b/examples/noneflow.yml @@ -3,16 +3,16 @@ name: NoneFlow on: issues: types: [opened, reopened, edited] - pull_request_target: - types: [closed] issue_comment: types: [created] + pull_request_target: + types: [closed] pull_request_review: types: [submitted] concurrency: - group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }} - cancel-in-progress: false + group: ${{ github.workflow }}-${{ github.event.issue.number && format('publish/issue{0}', github.event.issue.number) || github.head_ref || github.run_id }} + cancel-in-progress: ${{ startsWith(github.head_ref, 'publish/issue')}} jobs: noneflow: