Repository navigation
ci: claim the Context7 library and refresh it - #64
Merged
Merged
Conversation
Context7 indexed this repository on October 8, 2026. A claimed library has an admin panel and higher refresh limits, and Context7 verifies the claim through the url and public_key in context7.json. The public_key is the maintainer's public account key, which Context7 designs to be committed. Add a workflow that asks Context7 to refresh the index after each push to main that changes the README, context7.json, docs/, or examples/. The release docs no longer ask for a manual refresh. The workflow's request was run locally against the API and returned "Refresh started successfully". It reads the CONTEXT7_API_KEY repository secret, which is set.
|
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.
Why
Context7 indexed this repository on October 8, 2026, as part of the agent discoverability plan (R4). Claiming the library unlocks its admin panel and higher refresh limits. Context7 verifies a claim through the
urlandpublic_keyfields incontext7.json. Thepublic_keyis the maintainer's public account key, and Context7 designs it to be committed.What changes
context7.jsonaddsurlandpublic_key. The other fields do not change..github/workflows/context7-refresh.ymlasks Context7 to refresh the index after each push tomainthat changes the README,context7.json,docs/, orexamples/. It reads theCONTEXT7_API_KEYrepository secret, which is set. It uses no third-party action, and it runs withcontents: read.Validation
actionlintpasses on the new workflow.run:script, run locally with the same key, returned{"message":"Refresh started successfully"}.context7.jsonparses, and the new fields come beforeprojectTitle.After merge, the maintainer clicks Claim Library on the Context7 admin page to finish the claim.