Simulates the extraction process without making actual changes or modifications.
Input Schema
Output Schema
Usage Examples
Preview extraction after fetching a service template
Run a dry extraction after pulling a template with fetch:template. Use this to validate which files would be extracted without modifying the workspace.
steps:
- id: fetch-template
action: fetch:template
input:
url: https://github.com/example-org/service-template
targetPath: .
values:
name: ${{ parameters.name }}
owner: ${{ parameters.owner }}
description: Basic HTTP service
- id: preview-extraction
action: dry-run:extractConditionally preview extraction for a submodule in a monorepo
Only run a dry extraction for a specific module path when previewOnly is true. This helps inspect what would be extracted for one module in a larger template.
steps:
- id: fetch-monorepo-template
action: fetch:template
input:
url: https://github.com/example-org/monorepo-template
targetPath: .
values:
repoName: ${{ parameters.repoName }}
moduleName: ${{ parameters.moduleName }}
owner: ${{ parameters.owner }}
- id: preview-module-extraction
if: ${{ parameters.previewOnly }}
action: dry-run:extract
workingDirectory: ${{ parameters.moduleDir }}