Repository navigation
ci: post PRs, issues and releases to Discord, like lume - #14
Merged
Merged
Conversation
pr-notify.yml and issue-notify.yml are ported from lume. release.yml gains a Notify Discord job that posts one summary per release with every job's result. All three use the existing DISCORD_BOT_TOKEN and DISCORD_CHANNEL_ID secrets (optional DISCORD_PR_CHANNEL_ID and DISCORD_ISSUE_CHANNEL_ID), skip quietly without them, and never fail a PR or release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
shivvr had the Discord secrets (
DISCORD_BOT_TOKEN,DISCORD_CHANNEL_ID) but no workflow that used them. This ports lume's setup.pr-notify.yml, copied from lume.pull_request_targetbut never checks out PR code, so PRs from forks can post safely.allowed_mentionsblocks pings.issue-notify.yml, copied from lume. Posts when an issue is opened, closed or reopened, and on new issue comments.release.yml: a newNotify Discordjob.release,cpu-buildandcpu-merge, even when they fail.deploy.sh.All three skip quietly when the secrets are missing, and a failed post never turns a PR or release red. Optional extra secrets route the posts to other channels:
DISCORD_PR_CHANNEL_IDfor PRs, andDISCORD_ISSUE_CHANNEL_IDfor issues (falling back to the PR channel, then the release channel).How it will be checked: merging this PR should fire the first "merged" post. The release summary runs on the next tag (
v0.6.0).🤖 Generated with Claude Code