Skip to main content

Configuring notifications

Choose the type of activity on GitHub that you want to receive notifications for and how you want these updates delivered.

Notification delivery options

You can receive notifications for activity on GitHub in the following locations.

  • The notifications inbox in the GitHub web interface
  • The notifications inbox on GitHub Mobile, which syncs with the inbox in the web interface
  • An email client that uses a verified email address, which can also sync with the notifications inbox in the web interface and GitHub Mobile

Para usar a caixa de entrada de notificações no GitHub e no GitHub Mobile, habilite as notificações para Email e No GitHub em suas configurações de notificação. For more information, see Choosing your notification settings.

Dica

Se você recebe notificações por email e no GitHub, pode sincronizar automaticamente o status de lida ou não lida da notificação para que as notificações no GitHub sejam marcadas automaticamente como lidas após você ler a notificação de email correspondente. Para habilitar essa sincronização, seu cliente de email precisa conseguir exibir imagens do os no-reply endereço de email do sua instância do GitHub Enterprise Server, que seu administrador do site configura.

Benefits of the notifications inbox

The notifications inbox includes triaging options designed specifically for your GitHub notifications flow, including options to:

  • Triage multiple notifications at once.
  • Mark completed notifications as Done and remove them from your inbox. To view all of your notifications marked as Done, use the is:done query.
  • Save a notification to review later. Saved notifications are flagged in your inbox and kept indefinitely. To view all of your saved notifications, use the is:saved query.
  • Unsubscribe and remove a notification from your inbox.
  • Preview the issue or pull request where the notification originates on GitHub from within the notifications inbox.
  • See one of the latest reasons you're receiving a notification from your inbox with a reasons label.
  • Create custom filters to focus on different notifications when you want.
  • Group notifications in your inbox by repository or date to get a quick overview with less context switching.

In addition, you can receive and triage notifications on your mobile device with GitHub Mobile. For more information, see Managing your notification settings with GitHub Mobile or GitHub Mobile.

Benefits of using an email client for notifications

One benefit of using an email client is that all of your notifications can be kept indefinitely depending on your email client's storage capacity. Your inbox notifications are only kept for 5 months on GitHub unless you've marked them as Saved. Saved notifications are kept indefinitely. For more information about your inbox's retention policy, see About notifications.

Sending notifications to your email client also allows you to customize your inbox according to your email client's settings, which can include custom or color-coded labels.

Email notifications also allow flexibility with the types of notifications you receive and allow you to choose different email addresses for updates. For example, you can send certain notifications for a repository to a verified personal email address. For more information, about your email customization options, see Customizing your email notifications.

About participating and watching notifications

When you watch a repository, you're subscribing to updates for activity in that repository.

To see repositories that you're watching, go to your watching page. For more information, see Managing subscriptions for activity on GitHub.

You can configure notifications for a repository on the repository page, or on your watching page.

About custom notifications

You can customize notifications for a repository. For example, you can choose to only be notified when updates to one or more types of events (problemas, solicitações de pull, versões, alertas de segurança ou discussões) happen within a repository, or ignore all notifications for a repository. For more information, see Configuring your watch settings for an individual repository below.

Participating in conversations

Anytime you comment in a conversation or when someone @mentions your username, you are participating in a conversation. By default, you are automatically subscribed to a conversation when you participate in it. You can unsubscribe from a conversation you've participated in manually by clicking Unsubscribe on the issue or pull request or through the Unsubscribe option in the notifications inbox.

For conversations you're watching or participating in, you can choose whether you want to receive notifications by email or through the notifications inbox. For more information, see Choosing your notification settings.

Screenshot of the "Notification settings" page. "Participating" and "Watching" each have two checkbox options: "Email" and "Web and Mobile".

For example, on your "Notification settings" page:

  • If you don't want notifications to be sent to your email, deselect email for participating and watching notifications.
  • If you want to receive notifications by email when you've participated in a conversation, then select email under "Participating".

If you do not enable watching or participating notifications for web and mobile, then your notifications inbox will not have any updates.

Customizing your email notifications

After enabling email notifications, GitHub will send notifications to you as multipart emails that contain both HTML and plain text copies of the content. Email notification content includes any Markdown, @mentions, emojis, hash-links, and more, that appear in the original content on GitHub. If you only want to see the text in the email, you can configure your email client to display the plain text copy only.

Observação

Você só receberá notificações por email se o suporte a emails de saída estiver habilitado no sua instância do GitHub Enterprise Server. Para mais informações, entre em contato com o administrador do site.

Dica

Se você recebe notificações por email e no GitHub, pode sincronizar automaticamente o status de lida ou não lida da notificação para que as notificações no GitHub sejam marcadas automaticamente como lidas após você ler a notificação de email correspondente. Para habilitar essa sincronização, seu cliente de email precisa conseguir exibir imagens do os no-reply endereço de email do sua instância do GitHub Enterprise Server, que seu administrador do site configura.

Choose a default email address where you want to send updates for conversations you're participating in or watching. You can also specify which activity on GitHub you want to receive updates for using your default email address. For example, choose whether you want updates sent to your default email from:

  • Comments on issues and pull requests
  • Pull request reviews
  • Pull request pushes
  • Your own updates, such as when you open, comment on, or close an issue or pull request

Depending on the organization that owns the repository, you can also send notifications to different email addresses. Your organization may require the email address to be verified for a specific domain. For more information, see Configuring notifications.

You can also send notifications for a specific repository to an email address. For more information, see Sobre notificações de e-mail para pushes no seu repositório.

Você receberá e-mails de notificação apenas se tiver optado por receber notificações por e-mail nas configurações de notificação.

Filtering email notifications

Each email notification that GitHub sends contains header information. The header information in every email is consistent, so you can use it in your email client to filter or forward all GitHub notifications, or certain types of GitHub notifications.

If you believe you're receiving notifications that don't belong to you, examine the X-GitHub-Recipient and X-GitHub-Recipient-Address headers. These headers show who the intended recipient is. Depending on your email setup, you may receive notifications intended for another user.

Email notifications from GitHub contain header information.

HeaderInformation
From addressThis address will always be the no-reply email address configured by your site administrator.
To fieldThis field connects directly to the thread. If you reply to the email, you'll add a new comment to the conversation.
Cc addressGitHub will Cc you if you're subscribed to a conversation. The second Cc email address matches the notification reason. The suffix for these notification reasons is based on the no-reply email address configured by your site administrator. The possible notification reasons are:
  • assign: You were assigned to an issue or pull request.
  • author: You created an issue or pull request.
  • ci_activity: A GitHub Actions workflow run that you triggered was completed.
  • comment: You commented on an issue or pull request.
  • manual: There was an update to an issue or pull request you manually subscribed to.
  • mention: You were mentioned on an issue or pull request.
  • push: Someone committed to a pull request you're subscribed to.
  • review_requested: You or a team you're a member of was requested to review a pull request.
  • security_alert: GitHub detected a vulnerability in a repository you receive alerts for.
  • state_change: An issue or pull request you're subscribed to was either closed or opened.
  • subscribed: There was an update in a repository you're watching.
  • team_mention: A team you belong to was mentioned on an issue or pull request.
  • your_activity: You opened, commented on, or closed an issue or pull request.
List-Id fieldThis field identifies the name of the repository and its owner. The format of this address is always OWNER/REPOSITORY <REPOSITORY.OWNER>, e.g. List-Id: grain-lang/grain <grain.grain-lang.HOSTNAME>.
X-GitHub-Severity fieldAs notificações por email para os Dependabot alerts que afetam um ou mais repositórios incluem o campo de cabeçalho X-GitHub-Severity. Use o valor do campo de cabeçalho X-GitHub-Severity para filtrar as notificações por email para os Dependabot alerts. The possible severity levels are:
  • low
  • moderate
  • high
  • critical
For more information, see Sobre alertas do Dependabot.

Replying to email notifications

You can reply to email notifications from GitHub and your reply will be posted to the issue, pull request, or discussion.

The reply-to address on each email notification identifies the thread and the account that the comment will be posted from. This email address remains valid until you reset your password.

GitHub will not always include the full email contents and will attempt to strip some personally identifiable information from comments created via an email reply:

  • Email addresses in a standard format, such as octocat@github.com, are transformed to ***@***.***.
  • Signatures and quoted reply chains, when the email client has used a > to mark those sections, are stripped.
  • While the unsubscribe link from your email notification is sometimes quoted, the link will only work when signed in to your account.
  • Email attachments are not included in the resulting comment.
  • The maximum length of a comment created via an email reply is 65530 characters.

Choosing your notification settings

  1. No canto superior direito de qualquer página, clique em .

    Captura de tela do canto direito do cabeçalho do GitHub. Um ícone de caixa de entrada tem um ponto azul, indicando que há notificações não lidas.

  2. Na barra lateral esquerda, na lista de repositórios, use a lista suspensa "Gerenciar notificações" para clicar em Configurações de notificação.

    Captura de tela da página "Notificações". Um menu suspenso, intitulado "Gerenciar notificações", é realçado com um contorno laranja.

  3. On the notifications settings page, choose how you receive notifications when:

Automatic watching

By default, anytime you gain access to a new repository, you will automatically begin watching that repository. Anytime you join a new team, you will automatically be subscribed to updates and receive notifications when that team is @mentioned. If you don't want to automatically be subscribed, you can unselect the automatic watching options in your notification settings.

Screenshot of "Automatic watching" options for teams and repositories.

If "Automatically watch repositories" is disabled, then you will not automatically watch your own repositories. You must navigate to your repository page and choose the watch option.

For more information, see Configuring notifications.

Configuring your watch settings for an individual repository

You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of certain event types such as problemas, solicitações de pull, versões, alertas de segurança ou discussões (if enabled for the repository), or completely ignore an individual repository.

  1. Em GitHub, acesse a página principal do repositório.

  2. In the upper-right corner, select the "Watch" drop-down menu, then click a watch option.

    If you want to further customize notifications, click Custom, then select specific events that you want to be notified of, such as Issues or Pull Requests, in addition to participating and @mentions.

    For example, if you select "Issues", you will be notified about, and subscribed to, updates on every issue (including those that existed prior to you selecting this option) in the repository. If you're @mentioned in a pull request in this repository, you'll receive notifications for that too, and you'll be subscribed to updates on that specific pull request, in addition to being notified about issues.

Choosing where your organization’s email notifications are sent

If you belong to an organization, you can choose the email account you want notifications for organization activity sent to. For example, if you belong to an organization for work, you may want your notifications sent to your work email address, rather than your personal address.

Você receberá e-mails de notificação apenas se tiver optado por receber notificações por e-mail nas configurações de notificação.

  1. No canto superior direito de qualquer página, clique em .

    Captura de tela do canto direito do cabeçalho do GitHub. Um ícone de caixa de entrada tem um ponto azul, indicando que há notificações não lidas.

  2. Na barra lateral esquerda, na lista de repositórios, use a lista suspensa "Gerenciar notificações" para clicar em Configurações de notificação.

    Captura de tela da página "Notificações". Um menu suspenso, intitulado "Gerenciar notificações", é realçado com um contorno laranja.

  3. Under "Default notifications email", select the email address you'd like notifications sent to.

  4. Click Save.

Customizing email routes per organization

If you are a member of more than one organization, you can configure each one to send notifications to any of the email addresses for your account.

  1. No canto superior direito de qualquer página, clique em .

    Captura de tela do canto direito do cabeçalho do GitHub. Um ícone de caixa de entrada tem um ponto azul, indicando que há notificações não lidas.

  2. Na barra lateral esquerda, na lista de repositórios, use a lista suspensa "Gerenciar notificações" para clicar em Configurações de notificação.

    Captura de tela da página "Notificações". Um menu suspenso, intitulado "Gerenciar notificações", é realçado com um contorno laranja.

  3. Under "Custom routing," find your organization's name in the list.

  4. Click Edit next to the email address you want to change.

  5. Select one of your verified email addresses, then click Save.

Dependabot alerts notification options

The notification options for your user account are available at https://github.com/settings/notifications. You can configure notification settings for each repository, in the repository watch settings.

Para receber notificações sobre os Dependabot alerts nos repositórios, inspecione esses repositórios e inscreva-se para receber notificações de "Todas as Atividades" ou defina configurações personalizadas para incluir "Alertas de segurança". Para saber mais, confira Configuring notifications. Você pode escolher o método de entrega para as notificações, bem como a frequência com que elas são enviadas a você. Por padrão, se o proprietário da empresa tiver configurado um email para notificações na sua instância, você receberá Dependabot alerts:

  • Na caixa de entrada, como notificações da Web. Uma notificação da Web é enviada quando Dependabot é habilitado para um repositório, quando um novo arquivo de manifesto é confirmado no repositório e quando uma nova vulnerabilidade com gravidade crítica ou alta é encontrada (na opção GitHub ).
  • Por email. Um email é enviado quando Dependabot é habilitado para um repositório, quando um novo arquivo de manifesto é confirmado no repositório e quando uma nova vulnerabilidade com gravidade crítica ou alta é encontrada (na opção Email).
  • Na linha de comando. Os avisos são exibidos como retornos de chamada quando você efetua push para repositórios com dependências inseguras (opção CLI).
  • Em GitHub Mobile, como notificações da Web. Para saber mais, confira Configuring notifications.

Observação

As notificações por email e da Web do/GitHub Mobile são:

  • por repositório, quando o Dependabot está habilitado no repositório ou quando é feito commit de um novo arquivo de manifesto no repositório.
  • por organização, quando uma nova vulnerabilidade é descoberta.
  • Envie quando uma nova vulnerabilidade é descoberta. GitHub não envia notificações quando as vulnerabilidades são atualizadas.

É possível personalizar a maneira que a notificação sobre o Dependabot alerts é feita. Por exemplo, é possível receber um resumo semanal por email sobre alertas de até 10 repositórios com as opções Enviar um resumo de vulnerabilidades por email e Email de resumo semanal de segurança.

For more information about the notification delivery methods available to you, and advice on optimizing your notifications for Dependabot alerts, see Configurando notificações para alertas do Dependabot.

Secret scanning notification options

Quando um novo segredo é detectado, o GitHub notifica todos os usuários com acesso aos alertas de segurança do repositório de acordo com as preferências de notificação. Esses usuários incluem:

  • Administradores do repositório
  • Gerentes de segurança
  • Usuários com funções personalizadas com acesso de leitura/gravação
  • Proprietários da organização e proprietários da empresa, se forem administradores de repositórios onde os segredos foram vazados

Observação

Os autores de confirmação que acidentalmente fizeram commit de segredos serão notificados, independentemente das preferências de notificação deles.

Você receberá uma notificação por email se:

  • Estiver inspecionando o repositório.
  • Você habilitou notificações para "Todas as Atividades" ou para "Alertas de segurança" personalizados no repositório.
  • Tiver selecionado, em suas configurações de notificação, em "Assinaturas" e em "Inspeção", a opção para receber notificações por email.

For more information on how to configure notifications for alertas de verificação de segredo, see Monitorando alertas da verificação de segredos.

GitHub Actions notification options

For repositories that are set up with GitHub Actions and that you are watching, you can choose how you want to receive workflow run updates.

On the "Notification settings" page, select "Email" or "Web" notifications. Optionally, to only receive notifications for failed workflow runs, select "Send notifications for failed workflows only".

Screenshot of the "Actions" section of "Notification settings" with checkboxes: "Email", "Web", and "Send notifications for failed workflows only."

Organization alerts notification options

If you're an organization owner, you'll receive email notifications by default when organization members add new deploy keys to repositories within the organization. You can unsubscribe from these notifications. On the notification settings page, under "Organization alerts", deselect Email.

Managing your notification settings with GitHub Mobile

When you install GitHub Mobile, you will automatically be opted into web notifications. Within the app, you can enable push notifications for the following events.

  • Direct mentions
  • Assignments to issues or pull requests
  • Requests to review a pull request
  • Requests to approve a deployment

You can also schedule when GitHub Mobile will send push notifications to your mobile device.

O GitHub Enterprise Server efetua fetch em segundo plano para dar suporte às notificações por push. Portanto, você pode enfrentar um atraso no recebimento das notificações por push.

Managing your notification settings with GitHub for iOS

  1. In the bottom menu, tap Profile.
  2. To view your settings, tap .
  3. To update your notification settings, tap Notifications and then use the toggles to enable or disable your preferred types of push notifications.
  4. Optionally, to schedule when GitHub Mobile will send push notifications to your mobile device, tap Working Hours, use the Custom working hours toggle, and then choose when you would like to receive push notifications.

Managing your notification settings with GitHub for Android

  1. In the bottom menu, tap Profile.
  2. To view your settings, tap .
  3. To update your notification settings, tap Configure Notifications and then use the toggles to enable or disable your preferred types of push notifications.
  4. Optionally, to schedule when GitHub Mobile will send push notifications to your mobile device, tap Working Hours, use the Custom working hours toggle, and then choose when you would like to receive push notifications.

Configuring your watch settings for an individual repository with GitHub Mobile

You can choose whether to watch or unwatch an individual repository. You can also choose to only be notified of new releases, or completely ignore an individual repository.

  1. On GitHub Mobile, navigate to the main page of the repository.
  2. Tap Watch.
  3. To choose what activities you receive notifications for, tap your preferred watch settings. For example, choose to only be notified when you are participating or @mentioned, or use the "Custom" option to select specific events that you want to be notified of.