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
{{ message }}
Repository navigation
Commit 43631a4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/src/content/docs/guides/ephemerals.md
+6-126Lines changed: 6 additions & 126 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,36 +172,6 @@ See [Safe Outputs Reference](/gh-aw/reference/safe-outputs/#hide-older-comments)
172
172
173
173
Run agentic workflows from a separate "side" repository that targets your main codebase. This isolates AI-generated issues, comments, and workflow runs from your main repository, keeping automation infrastructure separate from production code.
174
174
175
-
```yaml wrap
176
-
safe-outputs:
177
-
github-token: ${{ secrets.MAIN_REPO_PAT }}
178
-
create-issue:
179
-
target-repo: "my-org/main-repo"
180
-
title-prefix: "[automation] "
181
-
labels: [automation, ai-generated]
182
-
```
183
-
184
-
**Key benefits**:
185
-
- **Zero friction** - No changes needed to main repository
186
-
- **Clean separation** - AI-generated issues stay separate from organic development
187
-
- **Private workflows** - Store sensitive automation logic in private repository
188
-
- **Safe experimentation** - Test workflows without affecting production
189
-
- **Centralized automation** - Manage workflows for multiple repositories
190
-
191
-
**Architecture**:
192
-
```text
193
-
┌─────────────────┐ ┌──────────────────┐
194
-
│ Side Repo │ │ Main Repo │
195
-
│ (workflows) │ ────────>│ (target code) │
196
-
│ │ Uses │ │
197
-
│ - automation/ │ PAT │ - src/ │
198
-
│ - .github/ │ │ - tests/ │
199
-
│ workflows/ │ │ - docs/ │
200
-
└─────────────────┘ └──────────────────┘
201
-
```
202
-
203
-
The workflows run in GitHub Actions on the side repository but perform operations (create issues, PRs, comments) on the main repository using cross-repository authentication.
204
-
205
175
See [SideRepoOps Guide](/gh-aw/guides/siderepoops/) for complete setup and usage documentation.
206
176
207
177
### Allowed GitHub References
@@ -216,6 +186,7 @@ safe-outputs:
216
186
```
217
187
218
188
**Configuration options**:
189
+
219
190
- `[]`— Escape all references (prevents all timeline items)
220
191
- `["repo"]`— Allow only the target repository's references
221
192
- `["repo", "owner/other-repo"]`— Allow specific repositories
@@ -224,12 +195,14 @@ safe-outputs:
224
195
**How it works**: References like `#123` become `` `#123` `` and `other/repo#456` becomes `` `other/repo#456` ``, preventing timeline clutter while preserving the information.
225
196
226
197
**Use cases**:
198
+
227
199
- **SideRepoOps**: Prevent automation from cluttering main repository timeline
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/safe-outputs.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,11 +75,11 @@ The agent requests issue creation; a separate job with `issues: write` creates i
75
75
- [**Missing Data**](#missing-data-reporting-missing-data) (`missing-data`) — Report missing data required to achieve goals (max: unlimited, same-repo only)
76
76
77
77
> [!TIP]
78
-
> Custom safe output types: [Custom Safe Output Jobs](/gh-aw/guides/custom-safe-outputs/). See [Deterministic & Agentic Patterns](/gh-aw/guides/deterministic-agentic-patterns/) for combining computation and AI reasoning.
78
+
> Custom safe output types: [Custom Safe Output Jobs](/gh-aw/reference/custom-safe-outputs/). See [Deterministic & Agentic Patterns](/gh-aw/guides/deterministic-agentic-patterns/) for combining computation and AI reasoning.
79
79
80
80
### Custom Safe Output Jobs (`jobs:`)
81
81
82
-
Create custom post-processing jobs registered as Model Context Protocol (MCP) tools. Support standard GitHub Actions properties and auto-access agent output via `$GH_AW_AGENT_OUTPUT`. See [Custom Safe Output Jobs](/gh-aw/guides/custom-safe-outputs/).
82
+
Create custom post-processing jobs registered as Model Context Protocol (MCP) tools. Support standard GitHub Actions properties and auto-access agent output via `$GH_AW_AGENT_OUTPUT`. See [Custom Safe Output Jobs](/gh-aw/reference/custom-safe-outputs/).
83
83
84
84
> [!NOTE]
85
85
> **Internal Implementation**: Custom safe output jobs are internally referred to as "safe-jobs" in the compiler code (`pkg/workflow/safe_jobs.go`), but they are user-facing only through the `safe-outputs.jobs:` configuration. The top-level `safe-jobs:` key is deprecated and not supported.
@@ -1316,7 +1316,7 @@ Specify custom runner for safe output jobs (default: `ubuntu-slim`): `runs-on: u
1316
1316
1317
1317
## Threat Detection
1318
1318
1319
-
Auto-enabled. Analyzes output for prompt injection, secret leaks, malicious patches. See [Threat Detection Guide](/gh-aw/guides/threat-detection/).
1319
+
Auto-enabled. Analyzes output for prompt injection, secret leaks, malicious patches. See [Threat Detection Guide](/gh-aw/reference/threat-detection/).
1320
1320
1321
1321
## Projects, Monitoring, and Orchestration Patterns
Copy file name to clipboardExpand all lines: docs/src/content/docs/reference/threat-detection.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: Threat Detection
3
3
description: Configure automated threat detection to analyze agent output and code changes for security issues before they are applied.
4
4
sidebar:
5
-
order: 14
5
+
order: 40
6
6
---
7
7
8
8
GitHub Agentic Workflows includes automatic threat detection to analyze agent output and code changes for potential security issues before they are applied. When safe outputs are configured, a threat detection job automatically runs to identify prompt injection attempts, secret leaks, and malicious code patches.
@@ -308,5 +308,5 @@ If the detection process itself fails (e.g., network issues, tool errors), the w
0 commit comments