Skip to content

Commit

Permalink
fix: 将拉取请求和相关议题放在同一个并发组
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Jan 1, 2025
1 parent 31f3f0c commit e46e129
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/noneflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
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: ${{ contains(github.head_ref, 'publish/issue')}}

jobs:
noneflow:
Expand Down

0 comments on commit e46e129

Please sign in to comment.