Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Actually call getFinalJobStatus()
  • Loading branch information
angelapwen committed Jan 25, 2024
commit f0dbc075fe2968ee4875fa70d5d55de33fe8a027
5 changes: 1 addition & 4 deletions lib/init-action-post.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/init-action-post.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions src/init-action-post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ async function runWrapper() {
const statusReport: InitPostStatusReport = {
...statusReportBase,
...uploadFailedSarifResult,
job_status: process.env[EnvVar.JOB_STATUS]
? (process.env[EnvVar.JOB_STATUS] as JobStatus)
: JobStatus.Unknown,
job_status: initActionPostHelper.getFinalJobStatus(),
};
await sendStatusReport(statusReport);
}
Expand Down