Skip to content

Commit e1de0f0

Browse files
committed
fix bug in github workflow for commit bot
1 parent 0cd1606 commit e1de0f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build_bdk.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Check out repository
2121
uses: actions/checkout@v4
2222
with:
23-
ref: ${{ github.event.pull_request.head.sha }}
23+
ref: ${{ github.head_ref }}
2424
fetch-depth: 0
2525

2626
- name: Set up Python 3
@@ -122,6 +122,9 @@ jobs:
122122
steps:
123123
- name: Checkout repository
124124
uses: actions/checkout@v4
125+
with:
126+
ref: ${{ github.head_ref }}
127+
fetch-depth: 0
125128

126129
- name: Download all gobdk static libraries artifacts
127130
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)