Repository navigation
Release ctrlaltbot 1.1.1 - #2
Merged
Merged
Conversation
- Read Markdown from the page API's content field when a site sends it there, fixing section text against docs sites that predate the markdown field - Enable global_fetch_strictly_public in the template so the bot can reach a docs site hosted as a Worker in the same Cloudflare account (error 1042) - Log CAD failures with the error code, URL, and status; report the same-account block as CAD_BLOCKED - Publish to npm with trusted publishing instead of a token
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.
Fixes
contentfield (such as docs.ctrlaltdoc.cc) showed "Open the page to read this section." in 1.1.0. The bot now detects Markdown incontentand uses it.global_fetch_strictly_public, so a bot can reach a docs site hosted as a Worker in the same Cloudflare account. Without it Cloudflare returns a 404 (error 1042) and every search fails. Existing deployments must add the flag to theirwrangler.jsonc, since Dependabot updates don't change config.CAD_BLOCKEDwith the fix, rather than as a missing page.Release process
id-token: write, npm ≥ 11.5.1) instead ofNPM_TOKEN. The secret can be deleted once this release publishes.