Conversation
…tegrity guard policies Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update create agentic workflows MD suggestions
Replace github.lockdown with github.repos/min-integrity guard policies in create prompt
Mar 19, 2026
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
Author
pelikhan
approved these changes
Mar 19, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the “create agentic workflow” prompt to remove deprecated github.lockdown guidance and replace it with current GitHub MCP guard policy configuration (repos + min-integrity) for controlling repository scope and content trust filtering.
Changes:
- Removed the “GitHub lockdown Mode” section and its
lockdown: falseguidance/link. - Added a “Guard Policies (
reposandmin-integrity)” section with definitions, defaults, and an example configuration.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Comment on lines
+496
to
+498
| - `approved` — Only content from owners, members, and collaborators (highest trust) | ||
| - `unapproved` — Include contributors and first-time contributors | ||
| - `none` — Include all content regardless of author association |
Comment on lines
+491
to
+494
| - **`repos`** - Restricts which repositories the agent can access: | ||
| - `"all"` — All repositories accessible by the token | ||
| - `"public"` — Public repositories only | ||
| - Array of patterns — Specific repos or wildcards (e.g., `["myorg/*", "myorg/api-*"]`) |
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.
The create-agentic-workflow prompt referenced the deprecated
lockdownfeature. Guard policies (repos+min-integrity) are the current approach for controlling content access in public repos.Changes
lockdown: falseguidance and its doc linkrepos— restricts repository scope ("all","public", or pattern array)min-integrity— filters content by author trust level (approved,unapproved,none)min-integrity: approvedapplied to public repos when neither field is setOriginal prompt
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.