Skip to content

Document public GitHub repos as workflow context#5527

Closed
mintlify[bot] wants to merge 6 commits intomainfrom
mintlify/public-context-repos-1777070234
Closed

Document public GitHub repos as workflow context#5527
mintlify[bot] wants to merge 6 commits intomainfrom
mintlify/public-context-repos-1777070234

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented Apr 24, 2026

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/repo value, 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

  • Expanded the Context repositories section in agent/workflows.mdx to distinguish between connected repos and public GitHub repos, including input formats and a security warning about prompt injection.
  • Added a changelog entry under the April 24, 2026 update and updated the RSS title.

PR context

Triggered by merge of the feature PR to main that 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.mdx to explicitly document two workflow context repository options: connected repos (via Mintlify GitHub App/GitLab OAuth) and public GitHub repos (accepted via owner/repo or full GitHub URL, with validation that the repo is public).

Adds a Warning callout 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.

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented Apr 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Apr 24, 2026, 10:41 PM

@mintlify-development
Copy link
Copy Markdown
Contributor

mintlify-development Bot commented Apr 24, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
userauth 🟢 Ready View Preview Apr 24, 2026, 10:41 PM

Comment thread changelog.mdx Outdated
Comment thread changelog.mdx Outdated
Comment thread agent/workflows.mdx Outdated
Comment thread agent/workflows.mdx Outdated
Comment thread agent/workflows.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants