Skip to content

Commit 054d6c6

Browse files
committed
ci: fix github head ref
1 parent 59a675c commit 054d6c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ jobs:
154154
uses: actions/github-script@v7
155155
env:
156156
BASE_REF: "${{ github.event.pull_request.base.sha || github.event.before }}"
157-
HEAD_REF: "${{ github.event.pull_request.head.sha || github.event.after }}"
157+
HEAD_REF: "${{ github.event.pull_request.head.sha || github.event.after || github.sha }}"
158158
EVENT_NAME: "${{ github.event_name }}"
159159
with:
160160
script: |

0 commit comments

Comments
 (0)