diff --git a/workspace/gh-workflow/src/workflow.rs b/workspace/gh-workflow/src/workflow.rs index 4288b4a..44ef9e1 100644 --- a/workspace/gh-workflow/src/workflow.rs +++ b/workspace/gh-workflow/src/workflow.rs @@ -88,15 +88,7 @@ impl Workflow { pub fn new(name: T) -> Self { Self { name: Some(name.to_string()), - permissions: Default::default(), - on: Default::default(), - run_name: Default::default(), - jobs: Default::default(), - concurrency: Default::default(), - defaults: Default::default(), - secrets: Default::default(), - env: Default::default(), - timeout_minutes: Default::default(), + ..Default::default() } } pub fn to_string(&self) -> Result {