We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 12dd64d + 9e4f56a commit 028d5c3Copy full SHA for 028d5c3
1 file changed
GitHub_Actions_Status_Tower_Light/actions_status.py
@@ -141,6 +141,18 @@ def buzzer_on_completion():
141
print("Sending serial command 'RED_OFF'.")
142
send_command(mSerial, RED_OFF)
143
144
+ if conclusion == "cancelled":
145
+ print("Actions run status: Completed - cancelled.")
146
+ if ENABLE_USB_LIGHT_MESSAGES:
147
+ send_command(mSerial, YELLOW_OFF)
148
+ print("Sending serial command 'RED_BLINK'.")
149
+ send_command(mSerial, RED_BLINK)
150
+ buzzer_on_completion()
151
+ time.sleep(COMPLETION_LIGHT_TIME - COMPLETION_BUZZER_TIME)
152
153
+ print("Sending serial command 'RED_OFF'.")
154
+ send_command(mSerial, RED_OFF)
155
+
156
else:
157
print("Already followed the current run.")
158
time.sleep(POLL_DELAY)
0 commit comments