Skip to content

Commit

Permalink
fix: put workflow dispatch and push events in a separate group
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Aug 13, 2024
1 parent 6534b84 commit 5b3c5d7
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release-csharp-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
env:
CARGO_TERM_COLOR: always

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && 'manual' || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build - ${{ matrix.target }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-java-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
env:
CARGO_TERM_COLOR: always

concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && 'manual' || github.ref }}
cancel-in-progress: true

jobs:
build:
name: Build - ${{ matrix.target }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-nim-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
required: true

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && 'manual' || github.ref }}
cancel-in-progress: true

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-node-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
id-token: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && 'manual' || github.ref }}
cancel-in-progress: true

on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-rust-crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
- none

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event_name == 'workflow_dispatch' && 'manual' || github.ref }}
cancel-in-progress: true

jobs:
Expand Down

0 comments on commit 5b3c5d7

Please sign in to comment.