diff --git a/scripts/automated-update-workflow.js b/scripts/automated-update-workflow.js index 74fce1357c..3b3cce7861 100644 --- a/scripts/automated-update-workflow.js +++ b/scripts/automated-update-workflow.js @@ -88,4 +88,8 @@ async function main() { } } -main().catch(console.error) +main().catch((err) => { + console.error(err) + // Ensure the process exists with a non-zero exit code so that the workflow fails + process.exit(1) +})