Conversation
Update instructions file with fork security feature introduced in v0.27.0. ## Changes Made - Added `forks:` field documentation to frontmatter schema section - Added "Fork Security for Pull Requests" section under Trigger Patterns with examples - Added "Fork Security" subsection to Security Considerations - Updated pull_request trigger example to show forks field usage ## Documentation Commits Reviewed - 48f19e3 Change default fork behavior for pull_request triggers to deny-by-default (#2970) ## Key Feature Pull request workflows now block forks by default unless explicitly allowed via `forks` field: - Default behavior: same-repo PRs only (forks blocked) - Explicit opt-in: use `forks: ["*"]` for all forks or patterns like `["org/*"]` - Security improvement: deny-by-default protects against untrusted fork execution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
pelikhan
approved these changes
Nov 2, 2025
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.
Instructions Update - Synchronized with v0.27.0
This PR updates the github-agentic-workflows.instructions.md file based on documentation changes since the last release (v0.27.0, released October 31, 2025).
Changes Made
forks:field documentation to frontmatter schema section explaining the deny-by-default behavior["*"]["org/*", "user/repo"]Documentation Commits Reviewed
This commit introduced a major security feature where pull_request workflows now block all forks by default and only allow PRs from the same repository. Previously, omitting the
forksfield allowed all forks to trigger workflows.Key Feature Documentation
Fork Security (New in v0.27.0)
Pull request workflows now use deny-by-default fork behavior:
forks: ["*"]for all forks or specific patterns like["trusted-org/*"]Validation
Notes
This is a critical security feature that should be well-documented for AI agents writing workflows. The deny-by-default approach significantly reduces the attack surface for repositories using agentic workflows with pull_request triggers.