From a32d3aecdc2d240bcceec1f2dc274c859ca1ff21 Mon Sep 17 00:00:00 2001 From: Tushar Mathur Date: Wed, 11 Dec 2024 13:34:03 -0800 Subject: [PATCH] refactor: add `autofix-ci` step --- crates/gh-workflow-tailcall/src/workflow.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/gh-workflow-tailcall/src/workflow.rs b/crates/gh-workflow-tailcall/src/workflow.rs index 55c2ce9..b1e9f69 100644 --- a/crates/gh-workflow-tailcall/src/workflow.rs +++ b/crates/gh-workflow-tailcall/src/workflow.rs @@ -111,6 +111,14 @@ impl Workflow { .add_args_when(self.auto_fix, "--fix") .add_args("--all-features --workspace -- -D warnings"), ) + .add_step_when( + self.auto_fix, + Step::uses( + "autofix-ci", + "action", + "ff86a557419858bb967097bfc916833f5647fa8c", + ), + ) } /// Creates the "Build and Test" job for the workflow.