Skip to content

Commit 0d60f39

Browse files
committed
1 parent d5789f0 commit 0d60f39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,15 @@ jobs:
264264
flags: ${{ format('node{0}', matrix.node-version) }}
265265
override_branch: ${{ env.REF }}
266266
override_build: ${{ github.run_id }}
267-
override_commit: ${{ github.sha }}
267+
override_commit: ${{ env.GITHUB_SHA }}
268268
token: ${{ secrets.CODECOV_TOKEN }}
269269
verbose: true
270270
env:
271271
GITHUB_JOB: ${{ github.job }}
272272
GITHUB_REF: ${{ github.ref }}
273273
GITHUB_REF_TYPE: ${{ github.ref_type }}
274274
GITHUB_RUN_ID: ${{ github.run_id }}
275-
GITHUB_SHA: ${{ github.sha }}
275+
GITHUB_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
276276
GITHUB_WORKSPACE: ${{ github.workspace }}
277277
build:
278278
needs: metadata

0 commit comments

Comments
 (0)