Forward publication base ref (#156)#158
Open
chubes4 wants to merge 1 commit into
Open
Conversation
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
Forward the reusable workflow
base_refinto runner-workspace publication asbase, while preserving materialization asfrom: "origin/" + base_ref.Evidence
maintain-docs.ymlworkflow already passedINPUT_BASE_REFto its jq runner-workspace builder and used it forfrom; publication was the missing consumer.baseRef=trunk, requiringbase=trunkandfrom=origin/trunk.Tests
php tests/validate-docs-agent-packages.php(passed).php -l tests/validate-wp-codebox-run-agent-task-contract.php(passed).jq -cn --arg repo 'Automattic/example' --arg branch 'docs-agent/docs-upkeep' --arg baseRef trunk '{enabled:true,repo:$repo,clone_url:("https://github.com/" + $repo + ".git"),branch:$branch,branch_prefix:$branch,base:$baseRef,from:("origin/" + $baseRef)}' | jq -e '.base == "trunk" and .from == "origin/trunk"'(passed).WP_CODEBOX_DIR=/path/to/wp-codebox php tests/validate-wp-codebox-run-agent-task-contract.phpwith the declaredv0.12.27checkout. This is currently blocked before Docs Agent assertions because that release lackscontracts/run-agent-task-reusable-workflow-interface.v1.json; the validation gate was not bypassed or changed.Compatibility
Consumers that omit
base_refretain the defaultmain. Consumers that explicitly set a non-main base such astrunknow use it consistently for both runner-workspace publication andorigin/trunkmaterialization.AI Assistance
Assisted by
openai/gpt-5.6-terra.