continue-on-error
in an action doesn't suppress an error from a node action called by an action it calls
#3510
Labels
bug
Something isn't working
Describe the bug
continue-on-error
works at a workflow step level to prevent errors from a step from being fatalcontinue-on-error
works at a composite step level to prevent errors in the composite step (if it's a node step) from being fatalcontinue-on-error
doesn't prevent a composite action that calls a composite action that calls a node action from being fatalTo Reproduce
Steps to reproduce the behavior:
https://github.com/check-spelling-sandbox/turbo-octo-couscous/blob/0d26cf628c8fd56a3dabcea152bec09ec3d5ebca/.github/workflows/run.yml#L49
Expected behavior
The job should ✅ because the continue-on-error for the intermediate composite action should mask the failure from the inneromst nested composite action that happens to call a node action that happens to fail.
Runner Version and Platform
Version of your runner?
Current runner version: '2.320.0'
OS of the machine running the runner? OSX/Windows/Linux/...
Linux
What's not working?
Please include error messages and screenshots.
Job Log Output
If applicable, include the relevant part of the job / step log output here. All sensitive information should already be masked out, but please double-check before pasting here.
Runner and Worker's Diagnostic Logs
If applicable, add relevant diagnostic log information. Logs are located in the runner's
_diag
folder. The runner logs are prefixed withRunner_
and the worker logs are prefixed withWorker_
. Each job run correlates to a worker log. All sensitive information should already be masked out, but please double-check before pasting here.Runner_20241018-055434-utc.log
Worker_20241018-055423-utc.log
Worker_20241018-055437-utc.log
The workaround is to include
continue-on-error
one layer closer, but, it's frustrating that an outer action can't usecotinue-on-error
to continue on error.The text was updated successfully, but these errors were encountered: