Skip to content

Commit

Permalink
ci(workflows): [ci] use env.GITHUB_SHA for codecov override commit
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Feb 19, 2023
1 parent dda4e9b commit 7b07102
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 @@ -265,15 +265,15 @@ jobs:
flags: ${{ format('node{0}', matrix.node-version) }}
override_branch: ${{ env.REF }}
override_build: ${{ github.run_id }}
override_commit: ${{ github.event.pull_request.head.sha || 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 7b07102

Please sign in to comment.