File tree Expand file tree Collapse file tree 2 files changed +24
-31
lines changed Expand file tree Collapse file tree 2 files changed +24
-31
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
pull_request_target :
5
5
workflow_run :
6
6
workflows : ['Run tests for PR']
7
+ types : [completed]
7
8
8
9
concurrency :
9
10
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.event.workflow_run.pull_requests[0].number }}
56
57
run-mode : ci
57
58
dangerfile : Dangerfile.df.kts
58
59
env :
59
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
60
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61
+ upload-coverage :
62
+ runs-on : ubuntu-latest
63
+ if : github.event.workflow_run.actor.name != 'dependabot[bot]' && github.repository == 'OptimumCode/json-schema-validator' && github.event.workflow_run.conclusion == 'success'
64
+ steps :
65
+ - name : ' Checkout Repository'
66
+ uses : actions/checkout@v4
67
+ with :
68
+ repository : ${{ github.event.workflow_run.head_repository.full_name }}
69
+ ref : ${{ github.event.workflow_run.head_sha }}
70
+ - name : Download benchmark results
71
+ uses : dawidd6/action-download-artifact@v6
72
+ with :
73
+ name : coverage-reports
74
+ path : reports/
75
+ run_id : ${{ github.event.workflow_run.id }}
76
+ - name : Upload coverage reports to Codecov
77
+ uses : codecov/codecov-action@v4
78
+ with :
79
+ override_branch : ${{ github.event.workflow_run.pull_requests[0].head.ref }}
80
+ override_commit : ${{ github.event.workflow_run.pull_requests[0].head.sha }}
81
+ override_pr : ${{ github.event.workflow_run.pull_requests[0].number }}
82
+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments