Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
drata committed Jun 20, 2024
1 parent cc24b86 commit e2a7cb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32170,6 +32170,10 @@ async function run() {
let results = await action.checkIfResultsAreAvailable(config.configParams.timeoutSeconds, pipelineInfo.runId);
let actionResult = action.publishResults(config.configParams?.maxSeverity || "", results);
if (actionResult === false) {
const platformUrl = action.buildPlatformLink(pipelineInfo.runId, pipelineId);
if (platformUrl) {
core.info(`View the full result of this run at ${platformUrl}`);
}
core.setFailed(`Drata Compliance as Code action failed. There are issues found with severity >= ${config.configParams?.maxSeverity}`);
}
else {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

0 comments on commit e2a7cb4

Please sign in to comment.