Skip to content

Commit 064524b

Browse files
authored
Merge pull request #1933 from mjcheetham/notice-workflow
build: emit skipped-run link as an annotation
2 parents f3ab63d + a401916 commit 064524b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,10 @@ jobs:
100100
}
101101
}
102102
103-
if (run.status === 'completed' && run.conclusion === 'success') return run.html_url
103+
if (run.status === 'completed' && run.conclusion === 'success') {
104+
core.notice(`Skipping: There already is a successful run: ${run.html_url}`)
105+
return run.html_url
106+
}
104107
}
105108
return ''
106109
} catch (e) {

0 commit comments

Comments
 (0)