Repository navigation
ci: remove the unused draft-release workflow and its unpinned opencode install - #3988
Merged
dyoshikawa merged 2 commits intoNov 27, 2026
Merged
Conversation
draft-release.yml ran the frozen anomalyco/opencode/github wrapper, which installs the latest opencode CLI unpinned in a step that holds the model API keys and a write-scoped GITHUB_TOKEN. The workflow has not run since 2026-05-21 and releases are drafted with the local draft-release skill, so remove it together with the select-opencode-model action it alone used and the Dependabot ignore entry for the wrapper. Update the GitHub Actions security rule to drop the draft-release references and keep the general lesson about unpinned run-time installs. Refs #3757, #3522 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4
…move-draft-release-workflow # Conflicts: # .github/workflows/draft-release.yml
dyoshikawa
deleted the
resolve-issue-3757-remove-draft-release-workflow
branch
November 27, 2026 05:58
Merged
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.
[needs maintainer review: workflow change]
Summary
Removes
.github/workflows/draft-release.yml, which is the only place that ran the frozenanomalyco/opencode/githubwrapper. That wrapper installs the latest opencode CLI withcurl -fsSL https://opencode.ai/install | bash(no version, checksum or signature) in a step that holdsOPENROUTER_API_KEY,ZHIPU_API_KEYand aGITHUB_TOKENwithcontents/pull-requests/issues: write. Upstream deleted the action (anomalyco/opencode#59032), the workflow last ran on 2026-05-21 (gh run list --workflow draft-release.yml), and releases are drafted with the localdraft-release/goal-releaseskills. Deleting it settles the unpinned install instead of re-engineering a workflow nobody runs.Changes
.github/workflows/draft-release.yml..github/actions/select-opencode-model/.git grepfinds no other user (only draft-release.yml referenced it).anomalyco/opencode/githubignore entry from.github/dependabot.yml; nothing references that action any more. Theactions/checkoutignore stays..rulesync/rules/github-actions-security.md:share: false) with one general rule: a SHA pin does not cover a tool an action downloads at run time, so such tools must be installed at an exact, checksum- or signature-verified version in a step without secrets. It records why draft-release.yml was removed.publish.yml,publish-assets.ymlandsecurity-scan.yml.security-scan.ymlis the only workflow withid-token: writefor the cicd-sensor sign-in;publish*.ymlkeep it for npm trusted publishing and attestations. Theanomalyco/opencode/githubsentence is gone.pnpm generateproduces no tracked changes (the generated copies of this rule are gitignored).Checks
pnpm cicheck: lint, type checks andcicheck:contentpass. A few wall-clock-budget tests (src/utils/glob.test.ts,shell-command-categories.test.ts,opencode-hooks.test.tsand similar) timed out at 5s because the machine was at load average ~70 on 8 cores; they pass when rerun alone or with--testTimeout=60000. This PR touches nosrc/file, so their result does not depend on it.Design decisions
OPENROUTER_API_KEY/ZHIPU_API_KEYrepository secrets untouched.security-scan.ymlstill usesOPENROUTER_API_KEY.ZHIPU_API_KEYnow looks unused in workflows; removing the secret is a repository-settings change for the maintainer.Skipped items
Closes #3757
Closes #3522
🤖 Generated with Claude Code
https://claude.ai/code/session_01JdNNKCxxrKAMDANMGDEGP4