Last active
November 7, 2020 13:27
-
-
Save jbeda/d037be21b3b2a3c7a48a14252e29ecb5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# These filters are based on email that Tim Hockin sent to kubernetes-dev a | |
# while ago on how to bring some sanity to github notifications with Kubernetes. | |
# | |
# https://groups.google.com/forum/#!msg/kubernetes-dev/5qU8irU7_tE/aZov0LpCBwAJ | |
# | |
# This file can be processed with https://github.com/mesozoic/gmail-yaml-filters | |
# Mark all k8s email | |
- match: | |
any: | |
- kubernetes | |
- k8s | |
- kubelet | |
- kube | |
label: k8s | |
# Archive my own activity | |
- from: notifications@github.com | |
to: your_activity@noreply.github.com | |
archive: true | |
read: true | |
# Ignore all bot traffic | |
- from: | |
all: | |
- notifications@github.com | |
- "(k8s-merge-robot OR k8s-ci-robot OR Kubernetes Submit Queue OR fejta-bot)" | |
archive: true | |
read: true | |
# Ignore push notifications | |
- to: push@noreply.github.com | |
archive: true | |
read: true | |
### Label priority based on type of mention | |
# Red label things assigned to me | |
- to: | |
any: | |
- assign@noreply.github.com | |
- review_requested@noreply.github.com | |
label: gh/p0 | |
star: true | |
# Orange label for comment | |
- to: comment@noreply.github.com | |
label: gh/p1 | |
# Yellow label for mentions | |
- to: mention@noreply.github.com | |
label: gh/p2 | |
# Grey label for team mentions | |
- to: team_mention@noreply.github.com | |
label: gh/p3 | |
# Issues I created | |
- to: author@noreply.github.com | |
star: true | |
label: gh/authored | |
important: true | |
# purple label for submitted PRs | |
- from: Kubernetes Submit Queue | |
list: "kubernetes.kubernetes.github.com" | |
match: "Automatic merge from submit-queue" | |
label: k8s/merged | |
# Skip messages I'm scubscribed to but leave unread | |
- from: notifications@github.com | |
to: subscribed@noreply.github.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment