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: src/content/docs/rover/guides/write-workflows.mdx
+20-8Lines changed: 20 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,11 +99,10 @@ Follow these steps to build the `licensing-expert` workflow piece by piece.
99
99
that use copyleft licenses (GPL, AGPL, LGPL), have no license,
100
100
or have licenses that conflict with common permissive usage.
101
101
outputs:
102
-
- name: license_analysis
102
+
- name: analysis
103
103
description: 'Detailed dependency and license analysis'
104
104
type: string
105
105
106
-
107
106
- id: report
108
107
type: agent
109
108
name: 'Generate Report'
@@ -118,6 +117,11 @@ Follow these steps to build the `licensing-expert` workflow piece by piece.
118
117
- Table of all dependencies with their license types
119
118
- List of flagged issues (copyleft, missing, or conflicting licenses)
120
119
- Recommended actions to resolve each issue
120
+
outputs:
121
+
- name: licensing_report
122
+
description: 'Markdown report of licensing issues and compliance status'
123
+
type: file
124
+
filename: 'licensing_report.md'
121
125
```
122
126
</StepItem>
123
127
<StepItem step={6}>
@@ -170,7 +174,7 @@ Steps are the sequential actions the agent executes. Each step has a unique `id`
170
174
The `licensing-expert` workflow uses two steps:
171
175
172
176
1. **Analyze Dependencies** — Scans the project and catalogues every dependency with its license type
173
-
2. **Generate Report** — Takes the analysis output and writes a structured `licensing.md` file
177
+
2. **Generate Report** — Takes the analysis output and writes a structured `licensing_report.md` file
174
178
175
179
Steps can declare their own outputs, which later steps reference through template syntax. In this workflow, the `analyze` step produces an `analysis` output that the `report` step consumes:
176
180
@@ -199,15 +203,18 @@ steps:
199
203
Using the analysis below, create a comprehensive licensing report.
200
204
201
205
Analysis:
202
-
{{steps.analyze.outputs.analysis_report}}
203
-
204
-
Write the report to `analysis_report.md`.
206
+
{{steps.analyze.outputs.analysis}}
205
207
206
208
The report must include:
207
209
- Executive summary of licensing status
208
210
- Table of all dependencies with their license types
209
211
- List of flagged issues (copyleft, missing, or conflicting licenses)
210
212
- Recommended actions to resolve each issue
213
+
outputs:
214
+
- name: licensing_report
215
+
description: 'Markdown report of licensing issues and compliance status'
216
+
type: file
217
+
filename: 'licensing_report.md'
211
218
```
212
219
213
220
You can override the AI tool or model for individual steps and set step-level timeouts or retries. See the [Workflow YAML File reference](/rover/reference/workflow-file#agent-step-configuration) for all step properties.
@@ -297,13 +304,18 @@ steps:
297
304
Using the analysis below, create a comprehensive licensing report.
298
305
299
306
Analysis:
300
-
{{steps.analyze.outputs.analysis_report}}
307
+
{{steps.analyze.outputs.analysis}}
301
308
302
309
The report must include:
303
310
- Executive summary of licensing status
304
311
- Table of all dependencies with their license types
305
312
- List of flagged issues (copyleft, missing, or conflicting licenses)
306
313
- Recommended actions to resolve each issue
314
+
outputs:
315
+
- name: licensing_report
316
+
description: 'Markdown report of licensing issues and compliance status'
317
+
type: file
318
+
filename: 'licensing_report.md'
307
319
```
308
320
309
321
## Register the workflow
@@ -401,7 +413,7 @@ After the task completes, inspect the generated report.
0 commit comments