Support ChangedFiles for Github & Gitlab PRs and Gitlab pushes (#697)

This commit is contained in:
Anbraten
2022-01-17 23:46:59 +01:00
committed by GitHub
parent 50570cba5c
commit 401072abb1
27 changed files with 849 additions and 565 deletions

View File

@@ -223,7 +223,7 @@ func Test_coding(t *testing.T) {
req.Header = http.Header{}
req.Header.Set(hookEvent, hookPush)
r, _, err := c.Hook(req)
r, _, err := c.Hook(ctx, req)
g.Assert(err).IsNil()
g.Assert(r.FullName).Equal("demo1/test1")
})