Skip to content

Commit 74fab8c

Browse files
author
Lukas Matt
authored
Merge pull request #1 from thefederationinfo/project_builds
Trigger travis builds with PROJECT env var
2 parents df0a535 + fa548f0 commit 74fab8c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

webhook.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ func webhook(w http.ResponseWriter, r *http.Request) {
7979
build := Build{
8080
RepoID: repo.ID,
8181
Matrix: fmt.Sprintf(
82-
`"PRREPO=%s PRSHA=%s"`,
82+
`"PROJECT=%s PRREPO=%s PRSHA=%s"`,
83+
*pr.Base.User.Login,
8384
*pr.Head.Repo.CloneURL,
8485
*pr.Head.SHA,
8586
),

0 commit comments

Comments
 (0)