You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For external configuration files, the option names use underscores instead of dashes. Example: fail_on_severity
I use separate configuration file for dependency-review-action. If I use underscores in it, configuration options are not applied, they're just skipped. I tried to change underscores to dashes, after that options are applied.
To Reproduce
Steps to reproduce the behavior:
Use separate config file for workflow action.
Set option names with underscores (for example, allow_licenses).
Try to run workflow.
See in result that licenses listed in allow-licenses options are detected as incompatible.
Describe the bug
Hi! Docs contain explicit note about underscores in config file
https://github.com/actions/dependency-review-action?tab=readme-ov-file#option-2-using-an-external-configuration-file
I use separate configuration file for dependency-review-action. If I use underscores in it, configuration options are not applied, they're just skipped. I tried to change underscores to dashes, after that options are applied.
To Reproduce
Steps to reproduce the behavior:
allow_licenses
).allow-licenses
options are detected as incompatible.Expected behavior
I think it's enough to change docs: remove not about underscores and fix example code in this chapter https://github.com/actions/dependency-review-action?tab=readme-ov-file#option-2-using-an-external-configuration-file.
Action version
v4
The text was updated successfully, but these errors were encountered: