copilot-swe-agent[bot] 742261a77d Fix superfluous HttpError: Not Found by throwing user-friendly errors
Instead of logging a detailed error with core.error() and then re-throwing
the raw HTTP error (which gets logged again by core.setFailed() in index.js),
throw a new Error with the user-friendly message directly. This eliminates
the duplicate/superfluous raw error output like "HttpError: Not Found".

Fixes #125

Agent-Logs-Url: https://github.com/actions/configure-pages/sessions/ee6b7f39-cfc5-415b-b70c-826c2b8cfcfe

Co-authored-by: yoannchaudet <14911070+yoannchaudet@users.noreply.github.com>
2026-04-02 17:05:57 +00:00
2024-09-16 17:22:15 +02:00
2025-07-29 13:24:36 +01:00
2022-07-13 13:40:23 -07:00
2022-09-19 10:50:02 -05:00

configure-pages

A GitHub Action to enable Pages and extract various metadata about a site. It can also be used to configure various static site generators we support as starter workflows.

See set-pages-config.js for more details on how we configure static site generators to work "out of the box" with GitHub Pages.

Usage

See action.yml and the Pages starter workflows.

Release instructions

In order to release a new version of this Action:

  1. Locate the semantic version of the upcoming release (a draft is maintained by the draft-release workflow).

  2. Publish the draft release from the main branch with semantic version as the tag name, with the checkbox to publish to the GitHub Marketplace checked. ☑️

  3. After publishing the release, the release workflow will automatically run to create/update the corresponding the major version tag such as v0.

    ⚠️ Environment approval is required. Check the Release workflow run list.

License

The scripts and documentation in this project are released under the MIT License.

Description
GitHub Action: configure-pages
Readme MIT 8.9 MiB
Languages
JavaScript 100%