By default, all engineering staff will be CC’d on build notifications and approvals. Thankfully, Luke Amdor has put together a helpful list of filters which may be imported into Gmail.
To apply these filters:
- Save the below XML snippet to a file
- Navigate to Gmail filters
- Click the “Import filters” link
- Open the XML file containing the snippets, then click “Open file”
- Click the “Create filters” button to upload to create the filters.
Empty “Do this” after importing
You’ll notice the first rule you’re importing is blank after “Do this:”. It should say “Categorize as Updates”. At the time of writing, the “Categorize as Updates” action cannot be referenced by XML. The first rule must be edited:
- Click the “edit” button on the rule
- Hit the “Continue” button
- Check the “Categorize as:” and select “Updates”
- Hit “Update filter”
Be sure to replace the following placeholder fields before importing the filters.
$FIRST=> Bullwinkle$LAST=> Moose$EMAIL=> bullwinkle.moose@bonno.com
<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:z0000001574783380606*6773776018230091676,z0000001574784095395*8045100766704616851,z0000001575561462165*6787533452371886769,z0000001575561487963*8418657465175254028,z0000001575562246037*7594112569290103583,z0000001575576509741*9148404854617326650,z0000001576693630171*2525368668338606858,z0000001576874928824*0688845721323492769,z0000001578589640002*6649054028882707248</id>
<updated>2020-02-20T15:34:05Z</updated>
<author>
<name>$FIRST $LAST</name>
<email>$EMAIL</email>
</author>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001574783380606*6773776018230091676</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='from' value='notifications@github.com'/>
<apps:property name='smartLabelToApply' value='^smartlabel_notification'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001574784095395*8045100766704616851</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='to' value='approvers@banno.com'/>
<apps:property name='doesNotHaveTheWord' value='$FIRST $LAST'/>
<apps:property name='shouldArchive' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001575561462165*6787533452371886769</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='to' value='mention@noreply.github.com'/>
<apps:property name='shouldStar' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001575561487963*8418657465175254028</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='to' value='comment@noreply.github.com'/>
<apps:property name='shouldStar' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001575562246037*7594112569290103583</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='to' value='author@noreply.github.com'/>
<apps:property name='shouldStar' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001575576509741*9148404854617326650</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='to' value='assign@noreply.github.com'/>
<apps:property name='shouldStar' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001576693630171*2525368668338606858</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='from' value='ServiceMgmtReview@jackhenry.com'/>
<apps:property name='shouldStar' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001576874928824*0688845721323492769</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='to' value='approvers@banno.com'/>
<apps:property name='hasTheWord' value='$FIRST $LAST'/>
<apps:property name='label' value='My Approvals'/>
<apps:property name='shouldStar' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:z0000001578589640002*6649054028882707248</id>
<updated>2020-02-20T15:34:05Z</updated>
<content></content>
<apps:property name='to' value='review_requested@noreply.github.com'/>
<apps:property name='shouldStar' value='true'/>
<apps:property name='sizeOperator' value='s_sl'/>
<apps:property name='sizeUnit' value='s_smb'/>
</entry>
</feed>