CI: concurrency group on portable-contracts
Group per workflow + ref; cancel-in-progress on push and pull_request, never on workflow_dispatch. The workflow has no tag or release trigger. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4a6c04a073
commit
8d447bcfa6
1 changed files with 5 additions and 0 deletions
5
.github/workflows/portable-contracts.yml
vendored
5
.github/workflows/portable-contracts.yml
vendored
|
|
@ -8,6 +8,11 @@ on:
|
|||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
# A newer push or PR update replaces the older run on the same ref; workflow_dispatch runs are never cancelled.
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: ${{ github.event_name != 'workflow_dispatch' }}
|
||||
|
||||
jobs:
|
||||
contracts-and-browser:
|
||||
name: ${{ matrix.os }} ${{ matrix.package }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue