Skip to content

Commit 0806687

Browse files
committed
Check for upload-sarif-post in isFirstPartyAnalysis
1 parent 45c4bd2 commit 0806687

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎lib/entry-points.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/status-report.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ export function getJobUUID(action: ActionState<["Logger", "Env", "Actions"]>) {
120120
* misconfigured workflows are not treated as third party, only the upload-sarif action can return false.
121121
*/
122122
function isFirstPartyAnalysis(actionName: ActionName): boolean {
123-
if (actionName !== ActionName.UploadSarif) {
123+
if (
124+
actionName !== ActionName.UploadSarif &&
125+
actionName !== ActionName.UploadSarifPost
126+
) {
124127
return true;
125128
}
126129
return process.env[EnvVar.INIT_ACTION_HAS_RUN] === "true";

0 commit comments

Comments
 (0)