seriouslysean / monster-hunter-now-events

A tool that auto-generates calendar events for Monster Hunter Now by scraping web news articles, processing them with AI, and creating a convenient calendar subscription.
https://seriouslysean.github.io/monster-hunter-now-events/
MIT License
8 stars 9 forks source link

[Bug]: Convert workflow errors to more gracefully exit #51

Closed seriouslysean closed 8 months ago

seriouslysean commented 8 months ago

Bug Description

Currently, when the process is exited via an error code, an email goes out that the workflow failed. See https://github.com/seriouslysean/monster-hunter-now-events/actions/runs/6688963642.

This is great, but means an email goes out.

Expected Behavior

What we actually want to happen, is for the job to succeed, but exit gracefully (with a success message maybe) saying that there's just no need for the job to continue and not allowing any future jobs to complete.

This will need to be tested with the various steps, however, to ensure no future steps occur with a non error exit.

Steps to Reproduce (Optional)

No response

seriouslysean commented 8 months ago

Fixed as of 1.5.0.