This commit is contained in:
Joel Male
2022-11-10 22:42:50 +10:00
parent 1143d5b401
commit 9650c71451
7 changed files with 6 additions and 0 deletions
+4
View File
@@ -33,6 +33,9 @@ async function run() {
throw new Error('A url is required to run this action.')
}
// initial info
core.info(`Sending webhook request to ${url}`)
// make the request
http
.make(url, headers, body, insecure)
@@ -46,6 +49,7 @@ async function run() {
})
.catch(err => {
core.info(`Error: ${err}`)
error(err.status)
return
})