Skip to content

Commit e6d9828

Browse files
authored
Checkout the appropriate sha (#3199)
1 parent 105f3ad commit e6d9828

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci-pr-coverage.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ jobs:
1212
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
1715
- name: Download All Artifacts
1816
uses: actions/download-artifact@v4
1917
with:
@@ -28,6 +26,9 @@ jobs:
2826
var fs = require('fs');
2927
return Number(fs.readFileSync('./NR'));
3028
result-encoding: string
29+
- uses: actions/checkout@v4
30+
with:
31+
ref: ${{ github.event.workflow_run.head_sha }}
3132
- name: Upload coverage report
3233
if: '!cancelled()'
3334
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)