mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-30 13:14:22 +01:00
Add commit date to Github PRs checks
This commit is contained in:
1 parent
342e9f80db
commit
cde0894711
1 file changed
+1
@@ -63,6 +63,7 @@ func auditGithubPR() ([]Leak, error) {
|
|||||||
githubCommit: commit,
|
githubCommit: commit,
|
||||||
author: commit.GetCommitter().GetLogin(),
|
author: commit.GetCommitter().GetLogin(),
|
||||||
message: *commit.Commit.Message,
|
message: *commit.Commit.Message,
|
||||||
|
date: *commit.Commit.Committer.Date,
|
||||||
}
|
}
|
||||||
leaks = append(leaks, inspect(diff)...)
|
leaks = append(leaks, inspect(diff)...)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user