@@ -21,8 +21,8 @@ name: Health
21
21
# uses: dart-lang/ecosystem/.github/workflows/health.yaml@main
22
22
# with:
23
23
# sdk: beta
24
- # checks: "version, changelog,license,coverage,breaking,do-not-submit,leaking"
25
- # fail_on: "version, changelog,do-not-submit"
24
+ # checks: "changelog,license,coverage,breaking,do-not-submit,leaking"
25
+ # fail_on: "changelog,do-not-submit"
26
26
# warn_on: "license,coverage,breaking,leaking"
27
27
# coverage_web: false
28
28
# upload_coverage: false
52
52
# Restrict the checks to any subset of version, changelog, and license if
53
53
# needed.
54
54
checks :
55
- description : What to check for in the PR health check - any subset of "version, changelog,license,coverage,breaking,do-not-submit,leaking"
56
- default : " version, changelog,license,coverage,breaking,do-not-submit,leaking"
55
+ description : What to check for in the PR health check - any subset of "changelog,license,coverage,breaking,do-not-submit,leaking"
56
+ default : " changelog,license,coverage,breaking,do-not-submit,leaking"
57
57
type : string
58
58
required : false
59
59
fail_on :
60
- description : Which checks should lead to failure - any subset of "version, changelog,license,coverage,breaking,do-not-submit,leaking"
61
- default : " version, changelog,do-not-submit"
60
+ description : Which checks should lead to failure - any subset of "changelog,license,coverage,breaking,do-not-submit,leaking"
61
+ default : " changelog,do-not-submit"
62
62
type : string
63
63
required : false
64
64
warn_on :
65
- description : Which checks should not fail, but only warn - any subset of "version, changelog,license,coverage,breaking,do-not-submit,leaking"
65
+ description : Which checks should not fail, but only warn - any subset of "changelog,license,coverage,breaking,do-not-submit,leaking"
66
66
default : " license,coverage,breaking,leaking"
67
67
type : string
68
68
required : false
113
113
required : false
114
114
115
115
jobs :
116
- version :
117
- if : ${{ contains(inputs.checks, 'version') }}
118
- uses : ./.github/workflows/health_base.yaml
119
- with :
120
- sdk : ${{ inputs.sdk }}
121
- check : version
122
- fail_on : ${{ inputs.fail_on }}
123
- warn_on : ${{ inputs.warn_on }}
124
- local_debug : ${{ inputs.local_debug }}
125
- use-flutter : ${{ inputs.use-flutter }}
126
- ignore_packages : ${{ inputs.ignore_packages }}
127
- checkout_submodules : ${{ inputs.checkout_submodules }}
128
-
129
116
changelog :
130
117
if : ${{ contains(inputs.checks, 'changelog') }}
131
118
uses : ./.github/workflows/health_base.yaml
@@ -210,7 +197,7 @@ jobs:
210
197
checkout_submodules : ${{ inputs.checkout_submodules }}
211
198
212
199
comment :
213
- needs : [version, changelog, license, coverage, breaking, do-not-submit, leaking]
200
+ needs : [changelog, license, coverage, breaking, do-not-submit, leaking]
214
201
if : always()
215
202
# These permissions are required for us to create comments on PRs.
216
203
permissions :
0 commit comments