Skip to content

Fix NoMethodError for "slack_attachments"

Yorick Peterse requested to merge fix-security-chatops-notification into master

The class BatchMergerResult doesn't implement the method "slack_attachments", instead it has a method called "build_attachments". This commit fixes ChatopsNotification.security_merge_requests_processed so that it uses the correct method.

See https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/2188909 for some additional information.

Merge request reports