We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53305d9 commit 20b3efbCopy full SHA for 20b3efb
1 file changed
workflow-types/src/lib.rs
@@ -59,12 +59,16 @@ impl Workflow {
59
&self.shells
60
}
61
62
- pub fn new(name: impl Into<String>, command: impl Into<String>) -> Self {
+ pub fn new(
63
+ name: impl Into<String>,
64
+ command: impl Into<String>,
65
+ description: Option<String>,
66
+ ) -> Self {
67
Workflow {
68
name: name.into(),
69
command: command.into(),
70
tags: vec![],
- description: None,
71
+ description,
72
arguments: vec![],
73
source_url: None,
74
author: None,
0 commit comments