Skip to content

Commit 8cf72d0

Browse files
mattKorwelnagendrareddy10
authored andcommitted
use correct ref for launching (google-gemini#8813)
1 parent 08667a3 commit 8cf72d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-patch-2-trigger.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ on:
2828

2929
jobs:
3030
trigger-patch-release:
31-
if: "(github.event_name == 'pull_request' && github.event.pull_request.merged == true && startsWith(github.head_ref, 'hotfix/')) || github.event_name == 'workflow_dispatch'"
31+
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'"
3232
runs-on: 'ubuntu-latest'
3333
permissions:
3434
actions: 'write'

0 commit comments

Comments
 (0)