fix: Stop dependency alert GHA failing when 201 response happens (#37905)

prepare/1.15.0-alpha20251117
Sarah French 5 months ago committed by GitHub
parent cfbfdc5797
commit ba947dac5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -77,7 +77,7 @@ jobs:
body,
});
}
if (resp.status != 200){
if (resp.status >= 300){
console.error("creating/updating comment failed, here's the response:", resp )
core.setFailed("creating/updating comment failed with status code " + resp.status)
}

Loading…
Cancel
Save