Skip to content

[docs] Update documentation for features from 2026-03-01#18982

Merged
pelikhan merged 2 commits intomainfrom
docs/update-2026-03-01-features-0a0c96d12548e342
Mar 1, 2026
Merged

[docs] Update documentation for features from 2026-03-01#18982
pelikhan merged 2 commits intomainfrom
docs/update-2026-03-01-features-0a0c96d12548e342

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 1, 2026

Documentation Updates - 2026-03-01

This PR updates the documentation based on features merged in the last 24 hours.

Features Documented

Changes Made

  • Updated docs/src/content/docs/reference/safe-outputs.md:

    • Updated resolve-pull-request-review-thread section to add target, target-repo, allowed-repos, and github-token fields with link to cross-repository docs (previously the section stated resolution was scoped to the triggering PR only)
    • Added new Workflow Call Outputs section under Global Configuration Options documenting the automatic injection of on.workflow_call.outputs when a workflow uses workflow_call + safe-outputs (including output name table for create-issue, create-pull-request, add-comment, and push-to-pull-request-branch)
  • Updated docs/src/content/docs/reference/github-tools.md:

    • Added :::caution[Experimental Feature] callout to the Guard Policies section for tools.github.repos and tools.github.min-integrity

Merged PRs Referenced

Already Documented (no action needed)

Generated by Daily Documentation Updater

  • expires on Mar 2, 2026, 4:26 AM UTC

- Add target/target-repo/allowed-repos to resolve-pull-request-review-thread
- Document automatic workflow_call outputs for safe-output types
- Mark tools.github guard policy (repos/min-integrity) as experimental

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions github-actions bot added automation documentation Improvements or additions to documentation labels Mar 1, 2026
@pelikhan pelikhan marked this pull request as ready for review March 1, 2026 04:35
Copilot AI review requested due to automatic review settings March 1, 2026 04:35
@pelikhan pelikhan merged commit dfb3215 into main Mar 1, 2026
3 checks passed
@pelikhan pelikhan deleted the docs/update-2026-03-01-features-0a0c96d12548e342 branch March 1, 2026 04:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates reference documentation to reflect newly merged features around safe-outputs and GitHub tools guard policies (2026-03-01 daily doc update).

Changes:

  • Document cross-repository configuration fields for resolve-pull-request-review-thread in safe-outputs.md.
  • Add documentation for automatic workflow_call outputs exposed from supported safe-output results.
  • Mark tools.github guard policy fields (repos, min-integrity) as experimental via a caution callout.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/src/content/docs/reference/safe-outputs.md Updates safe-output docs for cross-repo thread resolution and documents workflow_call output injection behavior.
docs/src/content/docs/reference/github-tools.md Adds an “Experimental Feature” caution callout for guard policy fields.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1230 to +1232
When a workflow uses `on: workflow_call` (or includes `workflow_call` in its triggers) and configures safe outputs, the compiler automatically injects `on.workflow_call.outputs` exposing the results of each configured safe output type. This makes gh-aw workflows composable building blocks in larger automation pipelines.

The following named outputs are exposed for each configured safe output type:
Copy link

Copilot AI Mar 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The opening sentence implies on.workflow_call.outputs is injected whenever any safe outputs are configured, but the compiler only injects outputs when at least one safe-output type that produces named workflow outputs is configured (currently create-issue, create-pull-request, add-comment, push-to-pull-request-branch). Consider rewording to reflect that limitation so callers don’t expect outputs for other safe output types.

Suggested change
When a workflow uses `on: workflow_call` (or includes `workflow_call` in its triggers) and configures safe outputs, the compiler automatically injects `on.workflow_call.outputs` exposing the results of each configured safe output type. This makes gh-aw workflows composable building blocks in larger automation pipelines.
The following named outputs are exposed for each configured safe output type:
When a workflow uses `on: workflow_call` (or includes `workflow_call` in its triggers) and configures at least one safe output type that produces named workflow outputs, the compiler automatically injects `on.workflow_call.outputs` exposing the results of those supported safe output types. This makes gh-aw workflows composable building blocks in larger automation pipelines.
The following named outputs are exposed for each configured safe output type that supports `workflow_call` outputs:

Copilot uses AI. Check for mistakes.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants