Skip to content

Commit 1648680

Browse files
committed
fix(*): CodePipelineをrerunして、ステータスが変更されても、通知に反映されない
1 parent 76ab637 commit 1648680

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/message_builder.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,9 @@ def is_status_already_completed(status):
211211

212212
if status == "SUCCEEDED":
213213
return True
214-
if status == "FAILED":
215-
return True
214+
# rerunでの更新を考慮
215+
# if status == "FAILED":
216+
# return True
216217
if status == "CANCELED":
217218
return True
218219

@@ -225,8 +226,9 @@ def is_status_icon_already_completed(status_icon):
225226

226227
if status_icon == STATE_ICONS["SUCCEEDED"]:
227228
return True
228-
if status_icon == STATE_ICONS["FAILED"]:
229-
return True
229+
# rerunでの更新を考慮
230+
# if status_icon == STATE_ICONS["FAILED"]:
231+
# return True
230232
if status_icon == STATE_ICONS["CANCELED"]:
231233
return True
232234

0 commit comments

Comments
 (0)