Skip to content

Commit 66bdadc

Browse files
authored
fix: 将拉取请求和相关议题放在同一个并发组 (#347)
1 parent a7089e5 commit 66bdadc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/noneflow.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ name: NoneFlow
33
on:
44
issues:
55
types: [opened, reopened, edited]
6-
pull_request_target:
7-
types: [closed]
86
issue_comment:
97
types: [created]
8+
pull_request_target:
9+
types: [closed]
1010
pull_request_review:
1111
types: [submitted]
1212

1313
concurrency:
14-
group: ${{ github.workflow }}-${{ github.event.issue.number || github.run_id }}
15-
cancel-in-progress: false
14+
group: ${{ github.workflow }}-${{ github.event.issue.number && format('publish/issue{0}', github.event.issue.number) || github.head_ref || github.run_id }}
15+
cancel-in-progress: ${{ startsWith(github.head_ref, 'publish/issue')}}
1616

1717
jobs:
1818
noneflow:

0 commit comments

Comments
 (0)