cancel-workflow-action icon indicating copy to clipboard operation
cancel-workflow-action copied to clipboard

how to make a cancelled workflow count as skip instead of failed?

Open joamatab opened this issue 3 years ago • 3 comments
trafficstars

how can we make a cancelled workflow count as skip instead of failed?

https://github.com/gdsfactory/gdsfactory/actions/runs/2799032426

joamatab avatar Aug 04 '22 19:08 joamatab

I don’t think that’s possible because Skipped means the job never ran but Canceled means it was stopped while in progress.

styfle avatar Aug 05 '22 01:08 styfle

I see, the issue is that we receive an email for each cancelled workflow, as if it had failed

joamatab avatar Aug 05 '22 04:08 joamatab

If you manually click the "Cancel" button on GitHub, does it also send you an email?

If so, it sounds like you'll need to submit a feature request to GitHub to change the behavior of email notifications.

styfle avatar Aug 05 '22 14:08 styfle