configure-pages fails with a 404 when Pages has never been switched on for the repository. It can enable it given the pages: write permission the job already holds, which beats requiring a trip through settings before CI can go green. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>