mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 21:44:23 +01:00
Merge pull request #157 from camaya/add-commit-date-prs
Add commit date to Github PRs checks
This commit is contained in:
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