gitleaks / gitleaks-action

Protect your secrets using Gitleaks-Action
https://gitleaks.io
Other
330 stars 129 forks source link

Added action configuration values #115

Open benoitgoyette opened 1 year ago

benoitgoyette commented 1 year ago

Fixes and adds arguments that are passed to gitleaks application.

Fixed GITLEAKS_CONFIG that didn't seem to be used.

While testing, I discovered that passing multiple arguments in the same string does not yield the same result and appending multiple arguments

args.push(`-c ${process.env.GITLEAKS_CONFIG}`);  // raises an error

args.push("-c", process.env.GITLEAKS_CONFIG);      // works

Added these options

kawaxi commented 5 months ago

@benoitgoyette