We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ci
github.event.pull_request.head.sha
1 parent d5789f0 commit 0d60f39Copy full SHA for 0d60f39
.github/workflows/ci.yml
@@ -264,15 +264,15 @@ jobs:
264
flags: ${{ format('node{0}', matrix.node-version) }}
265
override_branch: ${{ env.REF }}
266
override_build: ${{ github.run_id }}
267
- override_commit: ${{ github.sha }}
+ override_commit: ${{ env.GITHUB_SHA }}
268
token: ${{ secrets.CODECOV_TOKEN }}
269
verbose: true
270
env:
271
GITHUB_JOB: ${{ github.job }}
272
GITHUB_REF: ${{ github.ref }}
273
GITHUB_REF_TYPE: ${{ github.ref_type }}
274
GITHUB_RUN_ID: ${{ github.run_id }}
275
- GITHUB_SHA: ${{ github.sha }}
+ GITHUB_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
276
GITHUB_WORKSPACE: ${{ github.workspace }}
277
build:
278
needs: metadata
0 commit comments