Skip to content

Commit

Permalink
Update failure message
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Logan <lindluni@github.com>
  • Loading branch information
lindluni committed Oct 20, 2023
1 parent 933c8b4 commit ebf4edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enforce-ghas-policy/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const main = async () => {
core.info(`Found ${highAlerts.length} high and ${criticalAlerts.length} critical alerts`)
const message = messageViolation.replace('{highAlerts}', String(highAlerts.length)).replace('{criticalAlerts}', String(criticalAlerts.length))
await comment(org, repo, pullRequestNumber, message)
core.setFailed(`GHAS security policy violation found, please open a ticket here https://github.com/department-of-veterans-affairs/github-user-requests/issues/new/choose for additional help.`)
core.setFailed(`GHAS security policy violation found. For additional information about OIS policy, please refer to the OIS SWA Wiki: https://department-of-veterans-affairs.github.io/ois-swa-wiki/docs/ghas/codeql-usage.`)
process.exit(1)
}
} catch (e) {
Expand Down

0 comments on commit ebf4edc

Please sign in to comment.