Skip to content

Commit ecb3e3d

Browse files
Improve description of cancellation process in workflow documentation (#44242)
Co-authored-by: Sharra-writes <sharra-writes@github.com>
1 parent a30743d commit ecb3e3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/actions/reference/workflows-and-actions/workflow-cancellation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ When canceling a workflow run, you may be running other software that uses resou
1919
1. For jobs that need to be canceled, the server sends a cancellation message to all the runner machines with jobs that need to be canceled.
2020
1. For jobs that continue to run, the server re-evaluates `if` conditions for the unfinished steps. If the condition evaluates to `true`, the step continues to run. You can use the `cancelled` expression to apply a status check of `cancelled()`. For more information, see [AUTOTITLE](/actions/reference/evaluate-expressions-in-workflows-and-actions#cancelled).
2121
1. For steps that need to be canceled, the runner machine sends `SIGINT/Ctrl-C` to the step's entry process (`node` for JavaScript actions, `docker` for container actions, and `bash/cmd/pwd` when using `run` in a step). If the process doesn't exit within 7500 ms, the runner will send `SIGTERM/Ctrl-Break` to the process, then wait for 2500 ms for the process to exit. If the process is still running, the runner kills the process tree.
22-
1. After the 5 minute cancellation timeout period, the server will forcibly terminate all jobs and steps that are still running.
22+
1. After the 5 minute cancellation timeout period, the server will forcibly terminate all jobs and steps marked for cancellation that are still running.

0 commit comments

Comments
 (0)