From e713505cfa2b979e7e72851fecbe56be45596e9f Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Mon, 9 Dec 2024 10:55:13 -0800 Subject: [PATCH] Fix release job condition Follow-up to "Condition release job on default branch" (78a8fb62) which used the wrong property. --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c99890fee..27a914224 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -10,7 +10,7 @@ on: type: string jobs: run: - if: github.ref == github.event.repository.default_branch + if: github.ref_name == github.event.repository.default_branch uses: ./.github/workflows/ci.yaml secrets: inherit with: