# How can I preview GitHub Agentic Workflow outputs without applying their writes?

Exam: GH-700 — Enhancing Operational Efficiency with Agentic AI (beta)
Knowledge domain: Design and implement agentic workflows and automations (25–30%)
Updated: 2026-11-19T04:47:25.617286+00:00
HTML: https://learningpathx.com/faq/GH-700/gh700-preview-workflow-safe-outputs.html

## Also asked as

- How does staged mode work for gh-aw safe outputs?
- What should I check before treating a gh-aw run as a safe-output preview?

Set `staged: true` under `safe-outputs` to preview its writes in the GitHub Actions step summary instead of applying them. You can also stage one output type, but other enabled types can still execute normally. Inspect effective defaults and independent integrations before treating the whole run as having no write effects.

For example:

```yaml
safe-outputs:
  staged: true
  create-issue:
```

This stages the configured safe-output writes. By contrast, staging only `create-pull-request` while leaving `add-comment` unstaged allows the comment path to execute. Staged handlers may still read target resources to validate filters.

Omitting `safe-outputs` does not establish a no-write workflow. With no section, or only system output types, gh-aw automatically enables `create-issue` with a maximum of one issue and workflow-based labels and title prefix. Setting `create-issue: false` disables that tool and its automatic reporting instruction while retaining system outputs; it does not disable every other effect path.

Before an authorized preview run, inspect source and compiled configuration for each enabled or implicit output, custom handler and external credential. Afterward, compare the step summary with actual affected resources. A preview for one output type is evidence about that handler's staged behavior, not proof that authored steps or external services made no changes.

References: [Safe Outputs](https://github.github.com/gh-aw/reference/safe-outputs/), [Security Architecture](https://github.github.com/gh-aw/introduction/architecture/).

Source: [GH-700: Constrain Workflow Effects with Permissions and Safe Outputs](https://learningpathx.com/guide/GH-700/gh-700-constrain-workflow-effects-with-permissions-and-safe-outputs.html)
