[instructions] Sync github-agentic-workflows.md with v0.40.1#20435
Merged
[instructions] Sync github-agentic-workflows.md with v0.40.1#20435
Conversation
Add documentation for two safe-output global config fields that exist in the code and JSON schema but were missing from the instructions file: - report-failure-as-issue: controls whether workflow failures create issues - safe-outputs.environment: overrides deployment environment for the safe-outputs job (separate from the top-level environment: field) 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 the
github-agentic-workflows.mdinstructions file based on a code audit against the current safe-outputs implementation.Changes Made
Added
safe-outputs.report-failure-as-issue:— Controls whether workflow failures are reported as GitHub issues (boolean, default:true). Whenfalse, suppresses automatic failure issue creation. This field exists incompiler_types.go,safe_outputs_config.go, and the JSON schema but was missing from the instructions.Added
safe-outputs.environment:— Overrides the GitHub deployment environment for the safe-outputs job. Defaults to the top-levelenvironment:field. Useful when the main job and safe-outputs job need different deployment environments for protection rules. This field is parsed insafe_outputs_config.goand present in the JSON schema but was missing from the instructions.Documentation Commits Reviewed
63a74d0fix: prevent test suite timeout caused by real network calls in force-overwrite test (no doc changes since v0.40.1)Validation
SafeOutputsConfigstruct against documented fieldspkg/parser/schemas/main_workflow_schema.json— all 54 schema fields now coveredpkg/workflow/safe_outputs_config.goparsing logic