This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-steward.git
The following commit(s) were added to refs/heads/main by this push:
new 2ee6068 .asf.yaml: route all notification schemes (suppress dev@
default) (#9)
2ee6068 is described below
commit 2ee606836eb8d33a387ceb42e2bee0ca49fe2bf9
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Apr 29 11:49:29 2026 +0200
.asf.yaml: route all notification schemes (suppress dev@ default) (#9)
Without this change, ASF Infra was silently routing four GitHub
event streams to `[email protected]` because the schemes were
not explicitly populated in our `notifications:` block.
The ASF asf.yaml validator at
https://github.com/apache/infrastructure-asfyaml/blob/main/asfyaml/feature/notifications.py
defines `VALID_NOTIFICATION_SCHEMES` with eleven schemes that apply
to a public GitHub repo. Any unset scheme falls back to
`dev@<project>.apache.org`. We were setting only five
(`commits`, `issues`, `pullrequests`, `jobs`, `discussions`),
so the four "bot event" streams were leaking to dev@:
- `issues_status` — issue open/close/label-change events.
- `issues_comment` — comments on issues.
- `pullrequests_status` — PR state changes + CI status-check
failures (the noisiest one).
- `pullrequests_comment` — comments on PRs.
(`commits_by_path` is an optional path-specific override, not a
default-target field, so it stays unset.)
This commit:
- Adds explicit routes for all four leaking schemes — same target
as the rest (`[email protected]`), per the existing
Airflow PMC umbrella.
- Reformats the field list with column alignment so the missing-
scheme regression is hard to reintroduce silently.
- Expands the comment to spell out the dev@ default behaviour, the
schema link, and the rationale for the `[email protected]`
routing (it's the standard bot-event mirror list, public-by-
design, already moderated for bot-only traffic).
No effect on the five schemes that were already routed correctly;
the change is purely additive.
Generated-by: Claude Code (Claude Opus 4.7)
---
.asf.yaml | 38 +++++++++++++++++++++++++++++++++-----
1 file changed, 33 insertions(+), 5 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 9b8692b..7eb3528 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -56,8 +56,36 @@ notifications:
# routing notifications to airflow.apache.org lists matches the
# current ownership. Revisit if/when the repo moves to
# `apache/steward` under a different PMC.
- jobs: [email protected]
- commits: [email protected]
- issues: [email protected]
- pullrequests: [email protected]
- discussions: [email protected]
+ #
+ # IMPORTANT: do **not** route any notification stream to
+ # `[email protected]`. The dev@ list is the project's
+ # design-and-development discussion list and noise from a security-
+ # framework repo (every PR, issue, push, comment, status-check
+ # event) does not belong there.
+ #
+ # ASF Infra defaults any *unset* notification field to
+ # `dev@<project>.apache.org`, so **every documented scheme below
+ # MUST stay explicitly populated** — dropping a line here silently
+ # re-enables that dev@ default for that event type. Per the ASF
+ # asf.yaml schema
+ #
(https://github.com/apache/infrastructure-asfyaml/blob/main/asfyaml/feature/notifications.py
+ # `VALID_NOTIFICATION_SCHEMES`), the schemes that apply to a public
+ # GitHub repo are the eleven below (we set ten; `commits_by_path`
+ # is an optional path-specific override and is left unset). If
+ # Infra adds a new scheme, set it explicitly in the same change to
+ # keep the dev@ default suppressed.
+ #
+ # Why nearly everything goes to `[email protected]`:
+ # that's the standard "everything-bot-events" mirror list for the
+ # Airflow PMC; jobs go to `jobs@` (CI / workflow-failure mirror).
+ # Both lists are public-by-design and already moderated for
+ # bot-only traffic, so there is no signal-to-noise concern.
+ jobs: [email protected]
+ commits: [email protected]
+ issues: [email protected]
+ issues_status: [email protected]
+ issues_comment: [email protected]
+ pullrequests: [email protected]
+ pullrequests_status: [email protected]
+ pullrequests_comment: [email protected]
+ discussions: [email protected]