From 379e578cb7d513c316a7520f14109be4981d4280 Mon Sep 17 00:00:00 2001 From: Micaiah Martin Date: Thu, 7 Nov 2024 15:06:09 -0700 Subject: [PATCH] Revert "test github.head_ref" This reverts commit 47bd15d96b6621d8b01d7f07386ef63e076a81dc. --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4449866c2..cc305eb91 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -549,7 +549,7 @@ jobs: trigger-k8s-deploy: name: Trigger k8s deploy - if: github.head_ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' runs-on: ubuntu-22.04 needs: build-docker steps: @@ -583,7 +583,7 @@ jobs: trigger-ee-updates: name: Trigger Ephemeral Environment updates - if: github.head_ref != 'refs/heads/main' && contains(github.event.pull_request.labels.*.name, 'ephemeral-environment') + if: github.ref != 'refs/heads/main' && contains(github.event.pull_request.labels.*.name, 'ephemeral-environment') runs-on: ubuntu-24.04 needs: build-docker steps: