mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 13:34:23 +01:00
Merge pull request #91 from zricethezav/audit_branch
test branch opt, bump changelog
This commit is contained in:
3 files changed
+21
-1
No files matched your search
@@ -1,6 +1,10 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
1.3.0
|
||||||
|
-----
|
||||||
|
- Target specific branch
|
||||||
|
|
||||||
1.2.1
|
1.2.1
|
||||||
-----
|
-----
|
||||||
- Check errors when generating commit patch
|
- Check errors when generating commit patch
|
||||||
|
|||||||
@@ -339,6 +339,22 @@ func TestAuditRepo(t *testing.T) {
|
|||||||
MaxGoRoutines: 2,
|
MaxGoRoutines: 2,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
repo: leaksRepo,
|
||||||
|
description: "audit specific bad branch",
|
||||||
|
numLeaks: 2,
|
||||||
|
testOpts: Options{
|
||||||
|
Branch: "master",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
repo: leaksRepo,
|
||||||
|
description: "audit specific good branch",
|
||||||
|
numLeaks: 0,
|
||||||
|
testOpts: Options{
|
||||||
|
Branch: "dev",
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
repo: leaksRepo,
|
repo: leaksRepo,
|
||||||
description: "audit all branch",
|
description: "audit all branch",
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ type Config struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const defaultGithubURL = "https://api.github.com/"
|
const defaultGithubURL = "https://api.github.com/"
|
||||||
const version = "1.1.2"
|
const version = "1.3.0"
|
||||||
const defaultConfig = `
|
const defaultConfig = `
|
||||||
title = "gitleaks config"
|
title = "gitleaks config"
|
||||||
# add regexes to the regex table
|
# add regexes to the regex table
|
||||||
|
|||||||
Reference in new issue
Block a user