Exclude AGENTS.md, CLAUDE.md, and vendored tests from WP.org build#2952
Merged
Conversation
The 2.4.2 deploy surfaced three paths that were being copied to plugins.svn.wordpress.org but shouldn't ship to end users: - `AGENTS.md` and `CLAUDE.md` — agent instruction files used only when AI coding agents are working in the repo. - `lib/usage-tracking/tests` — vendored test directory from the usage tracking library. Add them to scripts/exclude.lst so they're stripped from the build the release workflow uploads to WP.org.
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
The 2.4.2 deploy run (#2951) showed three paths being copied to
plugins.svn.wordpress.org/wp-job-manager/that aren't intended for end users:AGENTS.mdandCLAUDE.md— repo-level instruction files for AI coding agents.lib/usage-tracking/tests— vendored test directory from the usage tracking library.The 2.4.2 SVN commit failed for an unrelated auth reason, so none of these actually shipped — but with the auth issue fixed, the next release would have published them. This PR adds the three paths to
scripts/exclude.lstso the build artifact uploaded to WP.org no longer contains them.Test plan
make buildor thePlugin Buildworkflow) on this PR and confirm the resultingwp-job-manager.zipdoes not containAGENTS.md,CLAUDE.md, orlib/usage-tracking/tests/.