Skip to content

Separate verified Pages upload from protected publication - #53

Merged
ShyAlon merged 1 commit into
mainfrom
split-pages-publication
Nov 21, 2026
Merged

ShyAlon merged 1 commit into
mainfrom
split-pages-publication

Conversation

@ShyAlon

@ShyAlon ShyAlon commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Narrow deployment mitigation

Split verified output preparation/upload from protected publication into dependent jobs in the same workflow run. This follows a workaround for the matching upstream artifact-discovery report, not a proven backend diagnosis or guaranteed fix: actions/deploy-pages#451 . No site content change or rebuild.

Preparation retains content/actions/PR-read only, verifies exact tested output and matching backup, uploads through the unchanged pinned Pages action, then exports the verified main SHA and upload-returned artifact ID. It has no Pages-write or identity-token permission.

Publication runs only after successful preparation, checks out the exact verified trusted main SHA, and retains the main-only github-pages environment. Before the unchanged pinned deploy-pages action, verify exact artifact ID/name/nonexpiry, same workflow run/head and unique name, then recheck current main last. No privileged job runs PR code, automatic retries, wider account permission, dependency or service. The small final-read-to-deploy race remains non-atomic. REST metadata validation is an identity guard, not a test of the action's internal listing.

Only the recovery record's source identity changes to match reviewed workflow/helper/tests/docs. The backup ZIP and all17application output files are unchanged and match live.

Validation and scope

Exact committed head passes57helper tests,184app tests,production/test builds,full72route/viewport browser regression,12notation fixtures,PWA/offline,practice,papers and final-prep. Dependency/permission/handoff/no-rebuild/final-guard ordering assertions,syntax and whitespace pass. New hosted job handoff/discovery behavior remains unproven.

Approval covers one public PR validation and one normal automatic split-job publication when the owner merges. Adds one short runner job per publication. Existing zero-dollar spending limit remains unchanged, with no paid allowance. Owner reviews and merges himself. No further retries, restore trial, settings or visibility changes are included.

@ShyAlon
ShyAlon merged commit 477c1de into main Nov 21, 2026
3 checks passed
@ShyAlon
ShyAlon deleted the split-pages-publication branch November 21, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Intermittent "No artifacts named github-pages" when deploy-pages runs right after upload-pages-artifact in the same job

1 participant