Skip to content

Commit b718b0a

Browse files
authored
Allow GitHub to access the merges endpoint
This is still content related and
1 parent 7a3f4e8 commit b718b0a

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)