From e9aa032f66d29a500a582e9374f4b0792c1232ca Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sun, 10 Mar 2024 23:37:22 +0100 Subject: [PATCH] Compile pre-built on `dev` only --- .github/workflows/validate_esphome.yml | 1 + .github/workflows/validate_esphome_beta.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index e8d07f8..0baae6b 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -195,6 +195,7 @@ jobs: name: Prebuilt Firmware runs-on: ubuntu-latest needs: build_core # Ensure this job runs after the core build job + if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev' steps: - uses: actions/checkout@main with: diff --git a/.github/workflows/validate_esphome_beta.yml b/.github/workflows/validate_esphome_beta.yml index 0747083..6027ada 100644 --- a/.github/workflows/validate_esphome_beta.yml +++ b/.github/workflows/validate_esphome_beta.yml @@ -184,6 +184,7 @@ jobs: name: Prebuilt Firmware runs-on: ubuntu-latest needs: build_core # Ensure this job runs after the core build job + if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev' steps: - uses: actions/checkout@main with: