Skip to content

Fix fork Pages gating and site dependency advisories - #1

Merged
loong10k merged 1 commit into
mainfrom
fix/fork-pages-and-site-audit-20261031
Oct 31, 2026
Merged

loong10k merged 1 commit into
mainfrom
fix/fork-pages-and-site-audit-20261031

Conversation

@loong10k

Copy link
Copy Markdown
Member

Fix the fork Pages workflow so the site still builds and uploads its artifact, then deploys only when Pages is configured. The official repository continues to deploy normally. The fork checks has_pages read-only, logs a clear skip when false, and fails on API errors. Cover the official, enabled-fork, unconfigured-fork, and API-error cases.

Update the site to compatible Astro 7.4.4, Starlight 0.42.8, and Sharp 0.35.5 releases. The refreshed lockfile resolves all nine prior npm audit findings without --force.

Validation: npm ci --prefix site; ASTRO_TELEMETRY_DISABLED=1 npm run build --prefix site (21 pages); npm audit --prefix site (0 findings); bash scripts/test-pages-deploy.sh; fork Actions run 41205917548 (build and Pages check success, deployment intentionally skipped).

@loong10k
loong10k marked this pull request as ready for review October 31, 2026 13:33
@loong10k
loong10k merged commit 53b8262 into main Oct 31, 2026
3 checks passed
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.

1 participant