Skip to content

chore(CI): Add hierarchy complete flag job that can be required #2426

chore(CI): Add hierarchy complete flag job that can be required

chore(CI): Add hierarchy complete flag job that can be required #2426

Workflow file for this run

name: Split Cluster Check
on:
workflow_call:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
env:
CARGO_TERM_COLOR: always
RUST_LOG: "error"
# Don't emit giant backtraces in the CI logs.
RUST_BACKTRACE: short
jobs:
# TODO: re-enable https://github.com/iotaledger/iota/issues/3862
# validate-mainnet:
# if: github.event.pull_request.draft == false
# runs-on: self-hosted
# steps:
# - name: Checkout code repository
# uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
# with:
# fetch-depth: 0
# - name: Run split cluster check script
# id: mn-split-cluster-check
# run: |
# IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=mainnet \
# scripts/compatibility/split-cluster-check.sh origin/mainnet ${{ github.sha }}
validate-testnet:
if: github.event.pull_request.draft == false
runs-on: self-hosted
steps:
- name: Checkout code repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 0
- name: Run split cluster check script
id: tn-split-cluster-check
run: |
IOTA_PROTOCOL_CONFIG_CHAIN_OVERRIDE=testnet \
scripts/compatibility/split-cluster-check.sh origin/testnet ${{ github.sha }}