Starting last week, on the 21st of July, my GitHub workflow's github.event.workflow_run.conclusion started to return an empty string randomly (maybe a third of the times), and wasn't doing so before.
I'm using a GitHub action to send a notification when a workflow failed. To do this, I have something like so:
on:
workflow_run:
# List of workflows where a failure would trigger notifications
workflows:
- "This Workflow"
- "That Workflow"
branches: [main]
types:
- completed
jobs:
notification:
if: github.event_name == 'workflow_run' && github.event.workflow_run.conclusion != 'success'
... -> send a notification
The notification started to trigger for workflows with a success last week, so I've outputted the conclusion, and it seems that it's now sometimes an empty string, even though it says "success" on the GitHub Actions' page.
Any idea on what changed on the GitHub side? I'm not seeing any relevant recent changes in the documentation.
Note: Here's the doc I used to create this action.
Second note: An empty string is not even a possible choice of the enum for "conclusion", according to the official documentation, which states that it can be one of: action_required, cancelled, failure, neutral, success, skipped, stale, timed_out