Skip to content

Commit eb4ce92

Browse files
committed
use github.head_ref to match branch name
1 parent 3eaaa73 commit eb4ce92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ jobs:
430430
needs: build-unsigned-snapshot
431431
permissions:
432432
contents: write
433-
if: ${{ startsWith(github.ref_name, 'pgo-') && !github.event.pull_request.head.repo.fork }}
433+
if: ${{ startsWith(github.head_ref, 'pgo-') && !github.event.pull_request.head.repo.fork }}
434434
steps:
435435
- name: Checkout
436436
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

0 commit comments

Comments
 (0)