Closed
Description
github actions log:
19:45:30 main.go:110: parsing time ""8/18/2019 7:44:51 PM"" as ""2006-01-02T15:04:05Z07:00"": cannot parse "/2019 7:44:51 PM"" as "2006"
##[error]Docker run failed with exit code 1
this is on line 110
, github.ParseWebHook
, it's working with any other payload if I just use it from a regular curl command. but it's failing when used with GithubActions.
data, err := ioutil.ReadFile(cmClient.inputFilePath)
if err != nil {
log.Fatalln(err)
}
// Parsing event.json.
event, err := github.ParseWebHook("issue_comment", data)
if err != nil {
log.Fatalln(err)
}
data == issue_comment payload
not sure if this is a github action issue or go-github issue. how can i help to resolve this?
Metadata
Metadata
Assignees
Labels
No labels