diff --git a/scripts/promote-job.ts b/scripts/promote-job.ts index 253b1f01..c68660ab 100644 --- a/scripts/promote-job.ts +++ b/scripts/promote-job.ts @@ -179,10 +179,10 @@ export function ensureForwardPromote( ): void { for (const rtv of currentRtvs) { if (rtv.slice(-13) >= newVersion) { - core.notice('Skipping job'); - throw new Error( - 'The scheduled promotion is older than current versions. This is most likely due to a lack of new commits on the nightly branch. No action is needed.' + core.notice( + 'The scheduled promotion is older than current versions. No action is needed.' ); + process.exit(0); } } }