Skip to content

Commit

Permalink
fix report branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeduartel authored Jul 5, 2024
1 parent 8d4ddb2 commit cae1e62
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ import { findComment } from "./modules/find-comment/main";
inputs.branch
);

core.setOutput("quality-gate-report", reportBody);

console.log("Finding comment associated with the report...");

const issueComment = await findComment({
Expand Down Expand Up @@ -83,7 +81,8 @@ import { findComment } from "./modules/find-comment/main";
});
}
}

core.setOutput("quality-gate-report", reportBody);

let resultMessage = `Quality gate status for \`${inputs.projectKey}\` returned \`${result.projectStatus.status}\``;
if (
inputs.failOnQualityGateError &&
Expand Down

0 comments on commit cae1e62

Please sign in to comment.