Skip to content

Commit a92cb43

Browse files
authored
Add quiet input to suppress info-level log output (#898)
## Summary Adds a new `quiet` input (default: `false`) that suppresses `info`-level log output when set to `true`. Only warnings and errors are shown. Contributes to: #868
1 parent e07f2ac commit a92cb43

18 files changed

Lines changed: 705 additions & 612 deletions

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ Have a look under [Advanced Configuration](#advanced-configuration) for detailed
125125
126126
# Add problem matchers
127127
add-problem-matchers: "true"
128+
129+
# Suppress info-level log output. Only warnings and errors are shown
130+
quiet: "false"
128131
```
129132

130133
### Outputs

action-types.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ inputs:
5656
type: boolean
5757
add-problem-matchers:
5858
type: boolean
59+
quiet:
60+
type: boolean
5961
resolution-strategy:
6062
type: enum
6163
allowed-values:

action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ inputs:
8686
add-problem-matchers:
8787
description: "Add problem matchers."
8888
default: "true"
89+
quiet:
90+
description: "Suppress info-level log output. Only warnings and errors are shown."
91+
default: "false"
8992
resolution-strategy:
9093
description: "Resolution strategy to use when resolving version ranges. 'highest' uses the latest compatible version, 'lowest' uses the oldest compatible version."
9194
default: "highest"

0 commit comments

Comments
 (0)