From cc8358edcba24fb920fd7e21c97900ff28d9ed7d Mon Sep 17 00:00:00 2001 From: Mike Szczys Date: Thu, 4 Jan 2024 09:52:16 -0600 Subject: [PATCH] workflows: used is_active to select runner Target self-hosted runners using the `is_active` label. We added this label to all of our self-hosted runners to indicate they are ready to be assigned CI tests. Removing this label (for maintenance or testing) from a runner removes it from the CI loop. Signed-off-by: Mike Szczys --- .github/workflows/test_nrf52840dk.yml | 2 +- .github/workflows/test_nrf9160dk.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test_nrf52840dk.yml b/.github/workflows/test_nrf52840dk.yml index b33f23b0..ce3aaa1d 100644 --- a/.github/workflows/test_nrf52840dk.yml +++ b/.github/workflows/test_nrf52840dk.yml @@ -92,7 +92,7 @@ jobs: # export CI_NRF52840DK_SNR=723769314 hw_flash_and_test: needs: build_for_hw_test - runs-on: [self-hosted, has_nrf52840dk] + runs-on: [is_active, has_nrf52840dk] defaults: run: diff --git a/.github/workflows/test_nrf9160dk.yml b/.github/workflows/test_nrf9160dk.yml index 3784d1fd..e992d323 100644 --- a/.github/workflows/test_nrf9160dk.yml +++ b/.github/workflows/test_nrf9160dk.yml @@ -97,7 +97,7 @@ jobs: # export CI_NRF9160DK_SNR=723769314 hw_flash_and_test: needs: build_for_hw_test - runs-on: [self-hosted, has_nrf9160dk] + runs-on: [is_active, has_nrf9160dk] defaults: run: