Skip to content

Commit 78d4dd1

Browse files
committed
Improve
1 parent a06cccc commit 78d4dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-submodules.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
echo "C ${{ github.workflow }}-${{ github.event.number || github.sha }}"
3939
# Get the current branch or tag name
40-
REF_NAME="${{ github.event.pull_request.head.ref }}"
40+
REF_NAME="${{ github.event.pull_request.head.ref || github.ref_name }}"
4141
4242
echo "Branch is:" $REF_NAME
4343

0 commit comments

Comments
 (0)