From 397ec5f718a3552ebe5b382e55288da15a062a50 Mon Sep 17 00:00:00 2001
From: Eric Willhoit <ewillhoit@salesforce.com>
Date: Wed, 16 Oct 2024 14:10:27 -0500
Subject: [PATCH] chore: flip ternary

---
 .github/workflows/promote-nightly-to-rc.yml | 2 +-
 .github/workflows/promote-rc-to-latest.yml  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/promote-nightly-to-rc.yml b/.github/workflows/promote-nightly-to-rc.yml
index 9aba46ad..7b5de269 100644
--- a/.github/workflows/promote-nightly-to-rc.yml
+++ b/.github/workflows/promote-nightly-to-rc.yml
@@ -23,7 +23,7 @@ jobs:
     with:
       old-channel: nightly
       new-channel: latest-rc
-      ignore-missing: ${{ github.event_name == 'workflow_run' && 'false' || inputs.ignore-missing }}
+      ignore-missing: ${{ github.event_name == 'workflow_dispatch' && inputs.ignore-missing || false }}
 
   promote-verify:
     runs-on: ubuntu-latest
diff --git a/.github/workflows/promote-rc-to-latest.yml b/.github/workflows/promote-rc-to-latest.yml
index 34bf5e59..d1bdf0b9 100644
--- a/.github/workflows/promote-rc-to-latest.yml
+++ b/.github/workflows/promote-rc-to-latest.yml
@@ -20,7 +20,7 @@ jobs:
       old-channel: latest-rc
       new-channel: latest
       use-ctc: true
-      ignore-missing: ${{ github.event_name == 'schedule' && 'false' || inputs.ignore-missing }}
+      ignore-missing: ${{ github.event_name == 'workflow_dispatch' && inputs.ignore-missing || false }}
 
   promote-verify:
     runs-on: ubuntu-latest