Skip to content

Commit c59184a

Browse files
author
Federico Builes
authored
Merge pull request #722 from actions/remove-warn-default
Revert default values in action.yml to fix external configs
2 parents 54c0657 + 651d22c commit c59184a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

action.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
# Avoid using default values for options here since they will
2-
# end up overriding external configurations.
1+
# IMPORTANT
2+
#
3+
# Avoid setting default values for configuration options in
4+
# this file, they will overwrite external configurations.
5+
#
6+
# If you are trying to find out the default value for a config
7+
# option please take a look at the README or src/schemas.ts.
8+
#
9+
# If you are adding an option, make sure the Zod definition
10+
# contains a default value.
311
name: 'Dependency Review'
412
description: 'Prevent the introduction of dependencies with known vulnerabilities'
513
author: 'GitHub'
@@ -56,23 +64,18 @@ inputs:
5664
retry-on-snapshot-warnings:
5765
description: Whether to retry on snapshot warnings
5866
required: false
59-
default: false
6067
retry-on-snapshot-warnings-timeout:
6168
description: Number of seconds to wait before stopping snapshot retries.
6269
required: false
63-
default: 120
6470
warn-only:
6571
description: When set to `true` this action will always complete with success, overriding the `fail-on-severity` parameter.
6672
required: false
67-
default: false
6873
show-openssf-scorecard:
6974
description: Show a summary of the OpenSSF Scorecard scores.
7075
required: false
71-
default: true
7276
warn-on-openssf-scorecard-level:
7377
description: Numeric threshold for the OpenSSF Scorecard score. If the score is below this threshold, the action will warn you.
7478
required: false
75-
default: 3
7679
outputs:
7780
comment-content:
7881
description: Prepared dependency report comment

0 commit comments

Comments
 (0)