[instructions] Sync github-agentic-workflows.md with v0.40.1#18583
Merged
[instructions] Sync github-agentic-workflows.md with v0.40.1#18583
Conversation
- Add checkout: frontmatter field documentation (single and multi-repo checkout config) - Expand features: field to list known flags (copilot-requests, mcp-gateway, dangerous-permissions-write, disable-xpia-prompt) - Add safe-outputs.steps: global field documentation Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.40.1
This PR updates
github-agentic-workflows.mdbased on code audit against the v0.40.1 release. No documentation commits modified the instructions file since the release; changes are derived from comparing code (compiler_types.go,safe_outputs_config.go,main_workflow_schema.json) to the instructions file.Changes Made
Add
checkout:frontmatter field — This top-level field was fully implemented in the JSON schema and Go code (checkout_manager.go,compiler_orchestrator_workflow.go) but completely absent from the instructions. Documents single and multiple checkout configurations with all supported sub-fields (repository,ref,path,fetch-depth,sparse-checkout,submodules,lfs,github-token).Expand
features:field documentation — Previously listed only as "Feature flags for experimental features (object)" with no details. Now enumerates the four known feature flags frompkg/constants/constants.go:copilot-requests(documented in changesetpatch-add-copilot-requests-feature.md),mcp-gateway,dangerous-permissions-write, anddisable-xpia-prompt.Add
safe-outputs.steps:global field — This field (Steps []any yaml:"steps,omitempty") exists inSafeOutputsConfigand the JSON schema (main_workflow_schema.jsonlines 6953–6967) but was not documented. It injects custom steps into all safe-output jobs after checkout and before safe-output code runs.Documentation Commits Reviewed
a8a4ea7Fix In private repos, events triggered in comments PRs are not able to access the PR branch #18574 (PR Fix https://github.com/github/gh-aw/issues/18574 #18578) — only changes to compiled.lock.ymlfiles and new source files; no instructions-relevant documentation commits since the v0.40.1 releaseCode Files Audited
pkg/workflow/compiler_types.go—SafeOutputsConfigstructpkg/workflow/safe_outputs_config.go— safe-outputs parsingpkg/parser/schemas/main_workflow_schema.json— JSON schemapkg/constants/constants.go— feature flag constantspkg/workflow/checkout_manager.go— checkout config parsingValidation