You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/github-tools.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,10 @@ tools:
57
57
58
58
## Guard Policies
59
59
60
+
:::caution[Experimental Feature]
61
+
Guard policy fields (`repos` and `min-integrity`) are experimental and may change in future releases. Using either field emits a compilation warning.
62
+
:::
63
+
60
64
Restrict which repositories and integrity levels the GitHub MCP server can access during agent execution. Guard policies apply fine-grained access control at the MCP gateway level.
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/safe-outputs.md
+35-2Lines changed: 35 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -796,14 +796,20 @@ safe-outputs:
796
796
797
797
Resolves review threads on pull requests. Allows AI agents to mark review conversations as resolved after addressing the feedback. Uses the GitHub GraphQL API with the `resolveReviewThread` mutation.
798
798
799
-
Resolution is scoped to the triggering PR only — the handler validates that each thread belongs to the triggering pull request before resolving it.
799
+
By default, resolution is scoped to the triggering PR. Use `target`, `target-repo`, and `allowed-repos` for cross-repository thread resolution.
800
800
801
801
```yaml wrap
802
802
safe-outputs:
803
803
resolve-pull-request-review-thread:
804
-
max: 10 # max threads to resolve (default: 10)
804
+
max: 10 # max threads to resolve (default: 10)
805
+
target: "triggering" # "triggering" (default), "*", or number
github-token: ${{ secrets.SOME_CUSTOM_TOKEN }} # optional custom token for permissions
805
809
```
806
810
811
+
See [Cross-Repository Operations](/gh-aw/reference/cross-repository/) for documentation on `target-repo`, `allowed-repos`, and cross-repository authentication.
812
+
807
813
**Agent output format:**
808
814
809
815
```json
@@ -1219,6 +1225,33 @@ See [Cross-Repository Operations](/gh-aw/reference/cross-repository/) technical
1219
1225
1220
1226
## Global Configuration Options
1221
1227
1228
+
### Workflow Call Outputs (`workflow_call`)
1229
+
1230
+
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.
1231
+
1232
+
The following named outputs are exposed for each configured safe output type:
These outputs are automatically available to calling workflows without any additional frontmatter configuration. User-declared `outputs` in the frontmatter are preserved and take precedence over the auto-injected values.
1242
+
1243
+
**Example — calling workflow using safe-output results:**
0 commit comments