Skip to content

Commit

Permalink
ci(workflows): [ci] use github.event.pull_request.head.sha for co…
Browse files Browse the repository at this point in the history
  • Loading branch information
unicornware committed Feb 18, 2023
1 parent bad2fb9 commit e7cf854
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,15 @@ jobs:
flags: ${{ format('node{0}', matrix.node-version) }}
override_branch: ${{ env.REF }}
override_build: ${{ github.run_id }}
override_commit: ${{ github.sha }}
override_commit: ${{ env.GITHUB_SHA }}
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
env:
GITHUB_JOB: ${{ github.job }}
GITHUB_REF: ${{ github.ref }}
GITHUB_REF_TYPE: ${{ github.ref_type }}
GITHUB_RUN_ID: ${{ github.run_id }}
GITHUB_SHA: ${{ github.sha }}
GITHUB_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
GITHUB_WORKSPACE: ${{ github.workspace }}
build:
needs: metadata
Expand Down

0 comments on commit e7cf854

Please sign in to comment.