Initial implementation of security scan for PRs
This commit is contained in:
parent
511c54b606
commit
9ce6ca8fd8
13 changed files with 273 additions and 1 deletions
|
|
@ -380,6 +380,7 @@ class EmailNotificationModel(BaseModel):
|
|||
TYPE_EMAIL_EXCEPTION = "exception"
|
||||
TYPE_UPDATE_AVAILABLE = "update_available"
|
||||
TYPE_TEST = "test"
|
||||
TYPE_SECURITY_AUDIT = "security_audit"
|
||||
|
||||
email_types = {
|
||||
TYPE_MAIN: "rhodecode:templates/email_templates/main.mako",
|
||||
|
|
@ -394,6 +395,7 @@ class EmailNotificationModel(BaseModel):
|
|||
TYPE_PULL_REQUEST: "rhodecode:templates/email_templates/pull_request_review.mako",
|
||||
TYPE_PULL_REQUEST_COMMENT: "rhodecode:templates/email_templates/pull_request_comment.mako",
|
||||
TYPE_PULL_REQUEST_UPDATE: "rhodecode:templates/email_templates/pull_request_update.mako",
|
||||
TYPE_SECURITY_AUDIT: "rhodecode:templates/email_templates/security_audit.mako",
|
||||
}
|
||||
|
||||
premailer_instance = premailer.Premailer(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue