Repository navigation
Tighten the Validate and Release workflows - #3
Merged
Merged
Conversation
Validate: refuse symlinks, keep no Git credentials after checkout, turn off the CLI's telemetry, and pin the CLI to 2.1.284. Release: publish only from main, with no manual trigger. Check that every plugin carries the same X.Y.Z version before using it in a tag. Fail instead of skipping when a release for the version already exists but came from a commit not on main, or when the plugins changed without a version bump. Scope the token to the steps that use it, store symlinks as links in archives, and run one release at a time. Both workflows pin actions/checkout to a commit. Dependabot keeps the pins current, holding new releases for 3 days. 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.
Summary
Tightens the two workflows before the first plugins land here.
Validate
claude plugin validatereads through a symlinked manifest and prints what it points at, and the release archive would follow links too.persist-credentials: falseon checkout, and the CLI's telemetry turned off.2.1.284. Tested beforehand: validating a repository full of hooks, MCP server commands, helper scripts and bundles ran none of them.Release
main, with no manual trigger. A manual run from another branch would have published that branch's content, and tags here can't be moved or deleted.X.Y.Zversion.mainBoth
actions/checkoutpinned to a commit (v7.0.1)..github/dependabot.ymlkeeps action pins current, holding new releases for 3 days.Test plan
none=true, three plugins at0.11.5givetag=v0.11.5-beta, and these all fail:0.11.5-rc1🤖 Generated with Claude Code