Skip to content

Commit ba947da

Browse files
authored
fix: Stop dependency alert GHA failing when 201 response happens (#37905)
1 parent cfbfdc5 commit ba947da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/backported-dependency-change.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
body,
7878
});
7979
}
80-
if (resp.status != 200){
80+
if (resp.status >= 300){
8181
console.error("creating/updating comment failed, here's the response:", resp )
8282
core.setFailed("creating/updating comment failed with status code " + resp.status)
8383
}

0 commit comments

Comments
 (0)