mirror of
https://github.com/github/codeql-action.git
synced 2026-05-17 00:30:27 +00:00
Include completed_at when action is aborted
This commit is contained in:
Generated
+1
-1
@@ -252,7 +252,7 @@ async function createStatusReport(actionName, status, cause, exception) {
|
||||
if (exception) {
|
||||
statusReport.exception = exception;
|
||||
}
|
||||
if (status === 'success' || status === 'failure') {
|
||||
if (status === 'success' || status === 'failure' || status === 'aborted') {
|
||||
statusReport.completed_at = new Date().toISOString();
|
||||
}
|
||||
let matrix = core.getInput('matrix');
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -283,7 +283,7 @@ async function createStatusReport(
|
||||
if (exception) {
|
||||
statusReport.exception = exception;
|
||||
}
|
||||
if (status === 'success' || status === 'failure') {
|
||||
if (status === 'success' || status === 'failure' || status === 'aborted') {
|
||||
statusReport.completed_at = new Date().toISOString();
|
||||
}
|
||||
let matrix: string | undefined = core.getInput('matrix');
|
||||
|
||||
Reference in New Issue
Block a user