Skip to content

Commit fcbbc42

Browse files
authored
Merge pull request netlify#12 from netlify/allow-merges
Allow GitHub to access the merges endpoint
2 parents 73c75b2 + b718b0a commit fcbbc42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type GitHubGateway struct {
1414
}
1515

1616
var pathRegexp = regexp.MustCompile("^/github/?")
17-
var allowedRegexp = regexp.MustCompile("^/github/(git|contents|pulls|branches)/?")
17+
var allowedRegexp = regexp.MustCompile("^/github/(git|contents|pulls|branches|merges)/?")
1818

1919
func NewGitHubGateway() *GitHubGateway {
2020
return &GitHubGateway{

0 commit comments

Comments
 (0)