Use check-job-skipped.ts in other workflows (#3653)

This commit is contained in:
Bart Louwers
2025-07-24 12:20:26 +02:00
committed by GitHub
parent 173ecdb103
commit 4c0ec62dc2
4 changed files with 37 additions and 18 deletions

View File

@@ -20,6 +20,7 @@ async function run() {
if (!job) throw new Error(`job with name ${jobName} not found in workflow run with id ${run_id}`);
core.setOutput('was_skipped', job.conclusion === 'skipped');
core.setOutput('was_skipped_or_cancelled', job.conclusion === 'skipped' || job.conclusion === 'cancelled');
}
try {