Skip to content

Instantly share code, notes, and snippets.

@dapirian
Last active August 15, 2020 14:23
Show Gist options
  • Save dapirian/451d0400926cc9cea25be9cd66793f35 to your computer and use it in GitHub Desktop.
Save dapirian/451d0400926cc9cea25be9cd66793f35 to your computer and use it in GitHub Desktop.
github gmail filters
<?xml version='1.0' encoding='UTF-8'?>
<!--
Instructions:
- Create a label named 'GitHub' (Settings -> Labels -> Create new label)
- The filters here will create new labels nested under 'GitHub', but only if 'GitHub' already exists
- Import these filters (Settings -> Filters and Blocked Addresses -> Import filters)
- Note there is a checkbox to 'Apply new filters to existing email'
- Change the colors of the new labels
- For a clean look don't give them each a unique color, pick 3-4 colors and reuse them for related labels
- Hide/delete/rename labels as desired
- The 'Push' label seems useless to me, I have it hidden
Docs: https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/configuring-notifications#filtering-email-notifications
-->
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='review_requested@noreply.github.com'/>
<apps:property name='label' value='GitHub/Review Requested'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='mention@noreply.github.com'/>
<apps:property name='label' value='GitHub/Mentioned'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='assign@noreply.github.com'/>
<apps:property name='label' value='GitHub/Assigned'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='your_activity@noreply.github.com'/>
<apps:property name='label' value='GitHub/Your Activity'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='author@noreply.github.com'/>
<apps:property name='label' value='GitHub/Authored'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='comment@noreply.github.com'/>
<apps:property name='label' value='GitHub/Commented'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='manual@noreply.github.com'/>
<apps:property name='label' value='GitHub/Manual'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='push@noreply.github.com'/>
<apps:property name='label' value='GitHub/Push'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='security_alert@noreply.github.com'/>
<apps:property name='label' value='GitHub/Security Alert'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='state_change@noreply.github.com'/>
<apps:property name='label' value='GitHub/State Change'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='subscribed@noreply.github.com'/>
<apps:property name='label' value='GitHub/Subscribed'/>
</entry>
<entry>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='to' value='team_mention@noreply.github.com'/>
<apps:property name='label' value='GitHub/Team Mention'/>
</entry>
</feed>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment