Skip to content

Commit 4178485

Browse files
fix(ci): @-mention on the digest so it actually notifies
The rolling issue is opened by github-actions, so no human is subscribed and comments notified nobody. Mention the handle in DIGEST_MENTION. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 5b3914e commit 4178485

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/watch-upstream.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,17 @@ jobs:
166166
echo "Created rolling digest issue #${num}"
167167
fi
168168
169+
# A bot opened this issue, so nobody is auto-subscribed. An @mention
170+
# notifies regardless of watch state. Change with:
171+
# gh variable set DIGEST_MENTION --repo <repo> --body "<github-handle>"
172+
mention="${{ vars.DIGEST_MENTION }}"
173+
if [ -n "$mention" ]; then
174+
{
175+
echo
176+
echo "cc @${mention}"
177+
} >> digest.md
178+
fi
179+
169180
gh issue comment "$num" --body-file digest.md
170181
echo "Posted digest to issue #${num}"
171182

0 commit comments

Comments
 (0)