From d5abb46fadf01cbf79c3eb7463493f6e00afcc4e Mon Sep 17 00:00:00 2001 From: matt korwel Date: Thu, 18 Sep 2025 21:19:22 -0700 Subject: [PATCH] use correct ref for launching (#8813) --- .github/workflows/release-patch-2-trigger.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-patch-2-trigger.yml b/.github/workflows/release-patch-2-trigger.yml index 3e3a9225d2..86b9a3b8bb 100644 --- a/.github/workflows/release-patch-2-trigger.yml +++ b/.github/workflows/release-patch-2-trigger.yml @@ -28,7 +28,7 @@ on: jobs: trigger-patch-release: - if: "(github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'hotfix/')) || github.event_name == 'workflow_dispatch'" + if: "(github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'hotfix/')) || github.event_name == 'workflow_dispatch'" runs-on: 'ubuntu-latest' permissions: actions: 'write'