Skip to content

[instructions] Sync github-agentic-workflows.md with v0.40.1#20435

Merged
pelikhan merged 1 commit intomainfrom
instructions/sync-safe-outputs-v0.40.1-3eb35b6e4b4146c6
Mar 11, 2026
Merged

[instructions] Sync github-agentic-workflows.md with v0.40.1#20435
pelikhan merged 1 commit intomainfrom
instructions/sync-safe-outputs-v0.40.1-3eb35b6e4b4146c6

Conversation

@github-actions
Copy link
Contributor

Instructions Update - Synchronized with v0.40.1

This PR updates the github-agentic-workflows.md instructions 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). When false, suppresses automatic failure issue creation. This field exists in compiler_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-level environment: field. Useful when the main job and safe-outputs job need different deployment environments for protection rules. This field is parsed in safe_outputs_config.go and present in the JSON schema but was missing from the instructions.

Documentation Commits Reviewed

  • 63a74d0 fix: prevent test suite timeout caused by real network calls in force-overwrite test (no doc changes since v0.40.1)

Validation

  • Performed full code audit of SafeOutputsConfig struct against documented fields
  • Cross-referenced against pkg/parser/schemas/main_workflow_schema.json — all 54 schema fields now covered
  • Cross-referenced against pkg/workflow/safe_outputs_config.go parsing logic
  • Followed prompting best practices (imperative mood, minimal additions)
  • Maintained technical tone and brevity
  • Updated only necessary sections
  • Removed no existing content (additive-only change)

Generated by Instructions Janitor ·

  • expires on Mar 12, 2026, 11:59 PM UTC

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>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation instructions labels Mar 10, 2026
@pelikhan pelikhan merged commit e3a377b into main Mar 11, 2026
@pelikhan pelikhan deleted the instructions/sync-safe-outputs-v0.40.1-3eb35b6e4b4146c6 branch March 11, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation documentation Improvements or additions to documentation instructions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant