mort
mort

Reputation: 13588

github CODEOWNERS: Disable email notifications for default owners

Is there a way to disable email notifications to the default owners configured in a github CODEOWNERS file?

In the code owners documentation, I can only find the following:

These owners will be the default owners for everything in the repo. Unless a later match takes precedence, @global-owner1 and @global-owner2 will be requested for review when someone opens a pull request.

@global-owner1 @global-owner2

While I do want to have the default code owners, I don't want an email notification being sent out to each code owner for each push, review remark, review approval, merge, etc. It's to much spam and makes it easy to overlook important notifications, e.g., when someone is explicitly added as a reviewer or mentioned in a comment.

Upvotes: 36

Views: 3489

Answers (2)

Dan Wuensch
Dan Wuensch

Reputation: 132

Try "GitHub -> Settings -> Scheduled Reminders -> (Your Repository) -> Enable Realtime Alerts -> Your team's review is requested"

Codeowners notifications setting in GitHub

Upvotes: 0

The CODEOWNERS notification system can not be turned off. But you can turn off all notification from a repository from the repository settings.

Upvotes: 1

Related Questions