Skip to content

Commit

Permalink
fix: 用 startsWith 更好
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 committed Jan 1, 2025
1 parent e46e129 commit 9677186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/noneflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9677186

Please sign in to comment.