Any way to tell Fastlane that a GitHub Actions job was cancelled and skip sending a Slack message?

Viewed 30

I am using Fastlane run_tests and the Slack-related parameters to send test results to our Slack channel. The tests run in GitHub Actions, but we cancel tests if a newer job on the same branch is started. If the previous test is in the middle of running and it gets cancelled, it's still posting a message to Slack. Is there any way I can tell Fastlane not to send a Slack message if a job was cancelled, or at least to output that a job was cancelled in the Slack message?

0 Answers
Related