Repository navigation
Validate staging content without publication credentials - #3
Merged
Merged
Conversation
This branch was previously deployed
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.
Outcome
Make the shared content workflow usable on staging without external publication credentials while preserving production R2 publication on main.
Work authority
/rootstagingata444f1cca0cdd61e7854e219d1db243d08531129codex/staging-content-validationat5893f925135628517a115bb8749caafe43cedd1eContributor mode (select one):
Plan
main.Current status: exact-head push/PR checks and independent review passed; ready for staging integration.
Changes and commits
VALIDATEwith--validate-only.mainoutside pull requests.The exact two-commit branch head is
5893f925135628517a115bb8749caafe43cedd1e; both commits modify only the content workflow.Verification
git diff --checkpassed.32208296459and32208299440passed without R2 credentials.32208296483and32208299404passed.7b2a924c03ee1f51377c1c454aaeccf5cfb17699bce5ae650032fe2cc6838db0.Risk and rollback
Risk is accidentally suppressing production publication. The condition explicitly retains R2 acceptance/publication for non-PR
mainexecution. Roll back by reverting these one-file commits; never provision production publication secrets merely to make staging validation pass.Completion summary
The shared workflow contract is explicit and verified at the exact head: pull requests and staging validate locally; only main can publish externally. The next lifecycle step is staging merge, exact ref read-back, and a credential-free staging Content receipt.
Submission checklist