From 9509ce9158f959a41610dc3ad13da0492600aaab Mon Sep 17 00:00:00 2001 From: Keith Date: Wed, 14 Aug 2024 12:03:41 -0400 Subject: [PATCH] Skip spec_version bump if 'no-spec-version-bump' label exists --- .github/workflows/check-devnet.yml | 1 + .github/workflows/check-finney.yml | 2 +- .github/workflows/check-testnet.yml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check-devnet.yml b/.github/workflows/check-devnet.yml index 4396d8660..bf8f89735 100644 --- a/.github/workflows/check-devnet.yml +++ b/.github/workflows/check-devnet.yml @@ -11,6 +11,7 @@ jobs: check-spec-version: name: Check spec_version bump runs-on: SubtensorCI + if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-spec-version-bump') }} steps: - name: Dependencies run: | diff --git a/.github/workflows/check-finney.yml b/.github/workflows/check-finney.yml index 6a51b3b0c..3e9fb5994 100644 --- a/.github/workflows/check-finney.yml +++ b/.github/workflows/check-finney.yml @@ -2,7 +2,7 @@ name: Finney Deploy Check on: pull_request: - branches: [finney, main, devnet-ready] + branches: [finney, main] env: CARGO_TERM_COLOR: always diff --git a/.github/workflows/check-testnet.yml b/.github/workflows/check-testnet.yml index 71c46557c..2978156b4 100644 --- a/.github/workflows/check-testnet.yml +++ b/.github/workflows/check-testnet.yml @@ -11,6 +11,7 @@ jobs: check-spec-version: name: Check spec_version bump runs-on: SubtensorCI + if: ${{ !contains(github.event.pull_request.labels.*.name, 'no-spec-version-bump') }} steps: - name: Dependencies run: |