diff --git a/main.go b/main.go index db5f1cb..656fce5 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ import ( "bytes" "fmt" "net/http" + "os" "text/template" "github.com/sethvargo/go-githubactions" @@ -116,6 +117,7 @@ func main() { fmt.Println("response Status:", resp.Status) if resp.StatusCode != http.StatusOK { fmt.Printf("response: %+v\n", resp) + os.Exit(1) } }