Document public GitHub repos as workflow context#5527
Closed
mintlify[bot] wants to merge 6 commits intomainfrom
Closed
Document public GitHub repos as workflow context#5527mintlify[bot] wants to merge 6 commits intomainfrom
mintlify[bot] wants to merge 6 commits intomainfrom
Conversation
Generated-By: mintlify-agent
Contributor
Author
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
This was referenced Apr 27, 2026
ethanpalm
reviewed
Apr 27, 2026
ethanpalm
reviewed
Apr 27, 2026
ethanpalm
reviewed
Apr 27, 2026
ethanpalm
reviewed
Apr 27, 2026
ethanpalm
reviewed
Apr 27, 2026
ethanpalm
approved these changes
Apr 27, 2026
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.
Summary
Workflows now accept any public GitHub repository as a context repository, even if it isn't connected to the organization. Users can paste a GitHub URL or
owner/repovalue, and Mintlify validates that the repository exists and is public before adding it. This lets prompts reference open-source libraries, SDKs, or external documentation alongside connected repos.Changes
agent/workflows.mdxto distinguish between connected repos and public GitHub repos, including input formats and a security warning about prompt injection.PR context
Triggered by merge of the feature PR to
mainthat introduced public context repos in workflows. Public GitLab repos are not supported and are called out explicitly.Note
Low Risk
Documentation-only change that clarifies supported workflow context repository types and adds a caution about untrusted public repo content; no product logic is modified.
Overview
Updates
agent/workflows.mdxto explicitly document two workflow context repository options: connected repos (via Mintlify GitHub App/GitLab OAuth) and public GitHub repos (accepted viaowner/repoor full GitHub URL, with validation that the repo is public).Adds a
Warningcallout highlighting prompt-injection/poisoned-context risk when using public repositories as workflow context.Reviewed by Cursor Bugbot for commit df3f6e9. Bugbot is set up for automated code reviews on this repo. Configure here.