Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/aw/campaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ First-class output is a **metric** and an **interpretation**. Make KPI computati

### Cross-repo coordination

- `safe-outputs.dispatch-workflow` is same-repo only.
- `safe-outputs.dispatch-workflow` is same-repo by default; cross-repo dispatch needs `target-repo` plus an `allowed-repos` allowlist and a token with `actions: write` on the target.
- For org-wide/multi-org, use a coordinator sending `repository_dispatch` to each target repo.
- Requires PAT or GitHub App token with access to every dispatched repo.
- Prefer fine-grained PAT scoped to specific repos with `Actions: Read & Write`.
Expand Down
5 changes: 4 additions & 1 deletion .github/aw/safe-outputs-automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,12 @@ description: Safe-output reference for workflow dispatch, code scanning, checks,
dispatch-workflow:
workflows: [workflow-name] # Required: list of workflow names to allow
max: 3 # Optional: max dispatches (default: 1, max: 3)
target-repo: org/other-repo # Optional: cross-repo dispatch target (owner/repo or expression)
allowed-repos: [org/*] # Optional: allowlist for cross-repo dispatch targets
target-ref: main # Optional: ref to dispatch against (overrides caller's GITHUB_REF)
```

Triggers other agentic workflows in the same repository using workflow_dispatch. Agent output includes `workflow_name` (without .md extension) and optional `inputs` (key-value pairs). Not supported for cross-repository operations.
Triggers other agentic workflows using workflow_dispatch. Agent output includes `workflow_name` (without .md extension) and optional `inputs` (key-value pairs). Cross-repo dispatch is supported via `target-repo` plus an `allowed-repos` allowlist; cross-repo targets require a token with `actions: write` on the target repository.
- `dispatch_repository:` - Dispatch `repository_dispatch` events to external repositories (experimental)

```yaml
Expand Down
2 changes: 1 addition & 1 deletion .github/aw/safe-outputs-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ description: Safe-output reference for issue, discussion, comment, and pull requ
required-title-prefix: "[bot]" # Optional: issue/PR title must start with this prefix
hide-older-comments: true # Optional: minimize previous comments from same workflow
allowed-reasons: [outdated] # Optional: restrict hiding reasons (default: outdated)
discussions: true # Optional: set false to exclude discussions:write permission (default: true)
discussions: true # Optional: opt-in to discussions:write permission for discussion comments/replies (default: false)
issues: true # Optional: set false to exclude issues:write permission (default: true)
pull-requests: true # Optional: set false to exclude pull-requests:write permission (default: true)
footer: true # Optional: when false, omits visible footer but preserves XML markers (default: true)
Expand Down
Loading