Repository navigation
Validate staging content without publication credentials - #2
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
/rootstagingata58aa53c9507e5af61a8c19dac51797a6abe6f6acodex/staging-content-validationatae2fe26223520185cff641d5ac77faf323248277Contributor 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
ae2fe26223520185cff641d5ac77faf323248277; both commits modify only the content workflow.Verification
git diff --checkpassed.32208295303and32208297679passed without R2 credentials.32208295268and32208297666passed.8189b9f26731fc08219a63e29aa6b61aa82c4514ab6e1d467489f01b1379cf75.32208434130passed at the exact head.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.
Contribution grant (human action required)
The accountable human must review CONTRIBUTING.md and check the affirmation below. Agents must leave it unchecked for the human.
CONTRIBUTING.md, have the right to submit this contribution, and grant the rights described there, including the right to offer my contribution under the project's AGPL and alternative commercial licenses.Submission checklist