good morning!!!!

Skip to content
Snippets Groups Projects
Commit b2486a82 authored by Garet Halliday's avatar Garet Halliday
Browse files

github web hook works

parent 607b1fb0
Branches
No related tags found
No related merge requests found
Pipeline #22296 passed
...@@ -2,6 +2,7 @@ package server ...@@ -2,6 +2,7 @@ package server
import ( import (
"archive/tar" "archive/tar"
"compress/gzip"
"context" "context"
"encoding/hex" "encoding/hex"
"encoding/json" "encoding/json"
...@@ -77,7 +78,12 @@ func (s *Impl) APIV1ReceiveGithubWebhookPost(ctx context.Context, req *api.Githu ...@@ -77,7 +78,12 @@ func (s *Impl) APIV1ReceiveGithubWebhookPost(ctx context.Context, req *api.Githu
return err return err
} }
archive := tar.NewReader(resp.Body) gz, err := gzip.NewReader(resp.Body)
if err != nil {
return err
}
archive := tar.NewReader(gz)
var b strings.Builder var b strings.Builder
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment