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: