You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: dedup upstream API change notifications by UTC day (#197)
Receiver workflow now folds all repository_dispatch events of type
`upstream-api-endpoint-change` arriving on the same UTC day into a
single rolling issue titled "Docs review: upstream API changes
(YYYY-MM-DD)". Subsequent dispatches that day append a comment
instead of opening a duplicate.
The previous logic opened one fresh issue per dispatch. Between Feb 18
and Mar 19, 2026 the legacy Mlaz-code/sharp-api dispatcher fired 185
times (peak 30/day on Mar 6). None were ever triaged. Bulk-close of
those issues is happening alongside this rewire; the new dispatcher
lives in Mlaz-code/sharp-api-go (notify-docs.yml, separate PR).
printf 'Auto-created by `repository_dispatch` from upstream repos when handler files change. Subsequent dispatches today append comments to this issue. Close it once today'\''s docs review is done.\n'
72
+
} > "$BODY_FILE"
73
+
NEW_NUM=$(gh issue create \
74
+
--repo "$REPO" \
75
+
--title "$TITLE" \
76
+
--label "upstream,docs-update" \
77
+
--body-file "$BODY_FILE" \
78
+
| sed -nE 's|.*/issues/([0-9]+).*|\1|p')
79
+
rm -f "$BODY_FILE"
80
+
echo "Opened new issue #${NEW_NUM} for ${TODAY}"
81
+
echo "## Upstream notification: opened #${NEW_NUM}" >> "$GITHUB_STEP_SUMMARY"
0 commit comments