File tree Expand file tree Collapse file tree 12 files changed +21
-14
lines changed Expand file tree Collapse file tree 12 files changed +21
-14
lines changed Original file line number Diff line number Diff line change
1
+ ## 0.12.1-wip
2
+
3
+ - Make the PR health output less verbose by collapsing warnings by default.
4
+
1
5
## 0.12.0
2
6
3
7
- Make the location of the health.yaml workflow configurable.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import 'changelog.dart';
17
17
import 'coverage.dart' ;
18
18
import 'license.dart' ;
19
19
20
- const apiToolHash = '7422ff6481101765899ae37495ce667acb400589 ' ;
20
+ const apiToolHash = '4377249ec08f0fa508298077eae236f24f315e19 ' ;
21
21
22
22
enum Check {
23
23
license ('License Headers' , 'license' ),
@@ -506,17 +506,20 @@ This check for [test coverage](https://github.com/dart-lang/ecosystem/wiki/Test-
506
506
final String markdownSummary;
507
507
if (result.markdown != null ) {
508
508
var markdown = result.markdown;
509
- var isWorseThanInfo = result.severity.index >= Severity .warning.index;
509
+ var expand = switch (result.severity) {
510
+ Severity .success || Severity .info || Severity .warning => false ,
511
+ Severity .error => true ,
512
+ };
510
513
511
514
markdownSummary = '''
512
- <details${isWorseThanInfo ? ' open' : '' }>
515
+ <details${expand ? ' open' : '' }>
513
516
<summary>
514
517
<strong>${check .tag }</strong> ${result .severity .emoji }
515
518
</summary>
516
519
517
520
$markdown
518
521
519
- ${ isWorseThanInfo ? ' This check can be disabled by tagging the PR with `skip-${result .check .displayName }-check`.' : '' }
522
+ This check can be disabled by tagging the PR with `skip-${result .check .displayName }-check`.
520
523
</details>
521
524
522
525
''' ;
Original file line number Diff line number Diff line change 1
1
name : firehose
2
2
description : A tool to automate publishing of Pub packages from GitHub actions.
3
- version : 0.12.0
3
+ version : 0.12.1-wip
4
4
repository : https://github.com/dart-lang/ecosystem/tree/main/pkgs/firehose
5
5
6
6
environment :
Original file line number Diff line number Diff line change 1
- <details open >
1
+ <details >
2
2
<summary >
3
3
<strong >Breaking changes</strong > :warning :
4
4
</summary >
Original file line number Diff line number Diff line change 1
- <details open >
1
+ <details >
2
2
<summary >
3
3
<strong >Breaking changes</strong > :warning :
4
4
</summary >
Original file line number Diff line number Diff line change 1
- <details open >
1
+ <details >
2
2
<summary >
3
3
<strong >Breaking changes</strong > :warning :
4
4
</summary >
Original file line number Diff line number Diff line change 1
- <details open >
1
+ <details >
2
2
<summary >
3
3
<strong >Coverage</strong > :warning :
4
4
</summary >
Original file line number Diff line number Diff line change 1
- <details open >
1
+ <details >
2
2
<summary >
3
3
<strong >Coverage</strong > :warning :
4
4
</summary >
Original file line number Diff line number Diff line change 1
- <details open >
1
+ <details >
2
2
<summary >
3
3
<strong >Coverage</strong > :warning :
4
4
</summary >
Original file line number Diff line number Diff line change 1
- <details open >
1
+ <details >
2
2
<summary >
3
3
<strong >API leaks</strong > :warning :
4
4
</summary >
You can’t perform that action at this time.
0 commit comments