You can configure how secret scanning notifies you about secret scanning alerts, and audit how your team responds to these alerts.
When secret scanning detects a potential secret leak in your repository, staying informed about these alerts is crucial for maintaining your code's security. GitHub provides multiple notification channels to ensure you and your team are promptly alerted when secrets are found. You can customize how and when you receive these notifications based on your role and preferences.
You can also audit responses to secret scanning alerts to track how your team manages security issues and maintain compliance with your organization's security policies.
In addition to displaying an alert in the Security and quality tab of the repository, GitHub can also send email notifications for alerts. These notifications are different for incremental scans and historical scans.
When a new secret is detected, GitHub notifies all users with access to security alerts for the repository according to their notification preferences. These users include:
Note
Commit authors who've accidentally committed secrets will be notified, regardless of their notification preferences.
You will receive an email notification if:
In addition, you will receive a notification if someone assigns a code scanning or a secret scanning alert to you. See Assigning alerts.
On GitHub, navigate to the main page of the repository.
To start watching the repository, select Watch.

In the dropdown menu, click All Activity. Alternatively, to only subscribe to security alerts, click Custom, then click Security alerts.
Navigate to the notification settings for your personal account. These are available at https://github.com/settings/notifications.
On your notification settings page, under "Subscriptions", then under "Watching", select the Notify me dropdown.
Select "Email" as a notification option, then click Save.

For more information about setting up notification preferences, see Managing security and analysis settings for your repository and Configuring your watch settings for an individual repository.
For historical scans, GitHub notifies the following users:
We do not notify commit authors.
For more information about setting up notification preferences, see Managing security and analysis settings for your repository and Configuring your watch settings for an individual repository.
You can audit the actions taken in response to secret scanning alerts using GitHub tools. For more information, see Auditing security alerts.