Skip to content

Commit

Permalink
chore(CI): Move split cluster check into hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
DaughterOfMars committed Jan 10, 2025
1 parent e5625e6 commit 6a9f2a5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/hierarchy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,3 +170,10 @@ jobs:
- license-check
- typos
uses: ./.github/workflows/_move_ide.yml

split-cluster:
if: (!cancelled() && !failure()) && needs.diff.isRust == 'true'
needs:
- diff
- rust
uses: ./.github/workflows/split_cluster.yml
6 changes: 4 additions & 2 deletions .github/workflows/split_cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Split Cluster Check

on:
workflow_call:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

concurrency:
group: split-cluster-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }}

env:
CARGO_TERM_COLOR: always
Expand Down

0 comments on commit 6a9f2a5

Please sign in to comment.