File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
GitHub_Actions_Status_Tower_Light Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,18 @@ def buzzer_on_completion():
141141 print ("Sending serial command 'RED_OFF'." )
142142 send_command (mSerial , RED_OFF )
143143
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+ if ENABLE_USB_LIGHT_MESSAGES :
153+ print ("Sending serial command 'RED_OFF'." )
154+ send_command (mSerial , RED_OFF )
155+
144156 else :
145157 print ("Already followed the current run." )
146158 time .sleep (POLL_DELAY )
You can’t perform that action at this time.
0 commit comments