chore: test old
Some checks failed
Sample Testing / my_job (push) Failing after 1m32s

This commit is contained in:
Marcel S. Henselin 2026-04-16 13:05:21 +02:00
parent f4d7d7c241
commit e31a184f97

View file

@ -4,7 +4,6 @@ import (
"bytes"
_ "embed"
"fmt"
"log"
"net/http"
"os"
"text/template"
@ -115,7 +114,7 @@ func main() {
githubactions.Fatalf("error %s", err.Error())
}
log.Printf("retrieved data: %s", string(jsonStr))
// log.Printf("retrieved data: %s", string(jsonStr))
req, err := http.NewRequest("POST", webhook, bytes.NewBuffer(jsonStr))
if err != nil {
@ -131,6 +130,7 @@ func main() {
fmt.Println("response Status:", resp.Status)
if resp.StatusCode != http.StatusOK {
fmt.Printf("response: %+v\n", resp)
fmt.Printf("data: %+v\n", jsonStr)
os.Exit(1)
}
}