Skip to content

Commit 61152d1

Browse files
committed
chore(ci): inject PR head's commit hash
1 parent f72befc commit 61152d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/adev-preview-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: echo "${{ github.event.pull_request.number }}" >> __metadata__pull_number.txt
5151
working-directory: build/dist/bin/adev/build/browser
5252
- name: Inject commit hash
53-
run: echo "${{ github.sha }}" >> __metadata__commit_hash.txt
53+
run: echo "${{ github.event.pull_request.head.sha }}" >> __metadata__commit_hash.txt
5454
working-directory: build/dist/bin/adev/build/browser
5555
- uses: actions/upload-artifact@v4
5656
with:

0 commit comments

Comments
 (0)