Sfoglia il codice sorgente

Merge pull request #157 from camaya/add-commit-date-prs

Add commit date to Github PRs checks
Zachary Rice 7 anni fa
parent
commit
3591560b34
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      github.go

+ 1 - 0
github.go

@@ -63,6 +63,7 @@ func auditGithubPR() ([]Leak, error) {
 					githubCommit: commit,
 					author:       commit.GetCommitter().GetLogin(),
 					message:      *commit.Commit.Message,
+					date:         *commit.Commit.Committer.Date,
 				}
 				leaks = append(leaks, inspect(diff)...)
 			}