Repository navigation
Keep only file types the Claude directory accepts - #29
Merged
Merged
Conversation
The Claude plugin directory refused the plugin because the repository, which is the plugin folder, held .mjs scripts and SVG logos. Embed the three scripts in a composite action that writes them to $RUNNER_TEMP/scripts, delete the unused SVGs, and make check-plugin fail on any file type the directory refuses.
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.
The Claude plugin directory refused the plugin: it only accepts Markdown, text, JSON, YAML and PNG, JPEG, GIF, WebP or ICO files from organizations that aren't Verified, and it scans the whole repository because that's the plugin folder. The refused files were
.github/scripts/*.mjsand two unused SVG logos.check-plugin.mjs,check-samples.mjsandbump-version.mjsin a composite action,.github/actions/scripts/action.yml, which writes them to$RUNNER_TEMP/scripts. The Validate, Release and drift workflows and the drift prompt run them from there. The embedded scripts round-trip byte for byte.check-pluginnow fails on anything the directory refuses: other file types, files starting with#!, and text that isn't UTF-8 or has NUL bytes.assets/polar_logomark_*.svg.RELEASE.md: version bumps are now manual edits, and there's a one-liner for running a script locally.Test plan
actionlintshows only the three shellcheck notes that are already onmaincheck-plugin(default and--cli) andcheck-samplespass locally.mjsfiles