fix(ci): silence Discord on auto-release cascade ticks - #258
Open
bh679 wants to merge 1 commit into
Open
Conversation
Cascade ticks dispatch release.yml with auto=true. Gate the Notify Discord step on !inputs.auto so cascade fires no longer ping the Discord server. Modrinth and CurseForge publishes still happen, so the "recently updated" feeds stay fresh. Manual releases continue to notify by default; the notify_discord input still works for one-off manual silencing. Bumps mod_version 0.208.5 -> 0.208.6.
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.
Summary
release.ymlwithauto=truebut never setnotify_discord=false. Sincenotify_discorddefaults totrue, every cascade tick (hourly → 5h → daily, ~22 fires over 14 days per real release) pinged the Discord server.!inputs.auto. Theautoinput is already the source of truth for "this is a cascade tick" —auto-release-reset.ymlkeys off it too — so reusing it keeps the policy intrinsic and consistent.CLAUDE.md### Discord noise (known followup)→### Discord notifications, flipping it from "known concern" to "resolved, behavior documented".notify_discordworkflow input description so it accurately reflects that the flag only governs manual releases now.Behavior matrix
autonotify_discordforce=true)Test plan
python3 -c "import yaml; yaml.safe_load(open('.github/workflows/release.yml'))"— passes./gradlew build— passes, all tests green, jar producedif:condition against the behavior matrixgh workflow run auto-release.yml -f force=trueand inspect the dispatchedrelease.ymlrun for a skipped Discord step