Use check-job-skipped.ts in other workflows (#3653)
This commit is contained in:
1
.github/scripts/check-job-skipped.ts
vendored
1
.github/scripts/check-job-skipped.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user