Skip to content

Commit

Permalink
update env name
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed Sep 15, 2024
1 parent 945afba commit 0da121e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion utils/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
DepsRepoEnv = "JF_DEPS_REPO"
MinSeverityEnv = "JF_MIN_SEVERITY"
FixableOnlyEnv = "JF_FIXABLE_ONLY"
DetectionOnlyEnv = "JF_SKIP_FIX_CREATION"
DetectionOnlyEnv = "JF_SKIP_AUTOFIX"
AllowedLicensesEnv = "JF_ALLOWED_LICENSES"
WatchesDelimiter = ","

Expand Down
2 changes: 1 addition & 1 deletion utils/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (p *Project) setDefaultsIfNeeded() error {
type Scan struct {
IncludeAllVulnerabilities bool `yaml:"includeAllVulnerabilities,omitempty"`
FixableOnly bool `yaml:"fixableOnly,omitempty"`
DetectionOnly bool `yaml:"detectOnly,omitempty"`
DetectionOnly bool `yaml:"skipAutoFix,omitempty"`
FailOnSecurityIssues *bool `yaml:"failOnSecurityIssues,omitempty"`
AvoidPreviousPrCommentsDeletion bool `yaml:"avoidPreviousPrCommentsDeletion,omitempty"`
MinSeverity string `yaml:"minSeverity,omitempty"`
Expand Down

0 comments on commit 0da121e

Please sign in to comment.