Repository navigation
Harden release workflows and fix XML-RPC HTTP responses - #6
Merged
Merged
Conversation
|
Test on Playground This disposable preview downloads the PR artifact through the third-party nightly.link service; do not enter production credentials or private data. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Filip Ilic <ilic.filip@gmail.com>
ilicfilip
approved these changes
Nov 16, 2026
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.
XML-RPC requests previously stopped during
initthrough awp_die()handler that could return HTTP 200 with an empty body. Return HTTP 403 immediately during plugin loading, remove the unreachable replacement server, and guard direct file access. Normal requests retain thexmlrpc_enabledfilter.Pin every action in all four workflows to a commit SHA, disable checkout credential persistence, and declare read-only default permissions. Replace the archived release action with
gh release create; grant contents-write access only to that job and require successful WordPress.org deployment first. Pass the Playground repository name through the environment and skip comments when fork or Dependabot tokens cannot write them. Keep nightly.link with an explicit third-party preview notice.Run four bootstrap regression scenarios in the PHP 7.4–8.3 CI matrix and exclude test files from plugin packages. Preserve the current README content while correcting the response description and documenting the remaining bootstrap cost, release controls, and preview dependency.
Validation: all five PHP CI jobs pass, including lint and bootstrap regression tests, and Playground passes. WordPress Coding Standards passes both locally and in CI; all seven checks are green. Six isolated HTTP checks passed for GET/POST XML-RPC, normal requests, and direct access with display_errors enabled. Workflow YAML parsing, action pins, permissions, release dependency, shell syntax, and
git diff --checkpassed. No full WordPress integration test or real deployment was run.Repository settings applied separately and verified: workflow tokens default to read-only; an active release-tag ruleset restricts creation, modification, and deletion of
v*tags to repository admins. SVN secrets remain repository secrets under the tag-ruleset approach.