From 8c93cd18c8aa9980c82c84f68aa9ef97d032696b Mon Sep 17 00:00:00 2001 From: James Kang <164518010+majorteach@users.noreply.github.com> Date: Fri, 29 Mar 2024 07:14:53 +0800 Subject: [PATCH 1/2] chore: remove repetitive words (#2259) Signed-off-by: majorteach Co-authored-by: ChristopherHX --- act/runner/action_composite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/runner/action_composite.go b/act/runner/action_composite.go index 3b086a2b..fc173de4 100644 --- a/act/runner/action_composite.go +++ b/act/runner/action_composite.go @@ -27,7 +27,7 @@ func evaluateCompositeInputAndEnv(ctx context.Context, parent *RunContext, step envKey := regexp.MustCompile("[^A-Z0-9-]").ReplaceAllString(strings.ToUpper(inputID), "_") envKey = fmt.Sprintf("INPUT_%s", strings.ToUpper(envKey)) - // lookup if key is defined in the step but the the already + // lookup if key is defined in the step but the already // evaluated value from the environment _, defined := step.getStepModel().With[inputID] if value, ok := stepEnv[envKey]; defined && ok { From 2f6d410258091b12165f70ba3fdad875b45e1a95 Mon Sep 17 00:00:00 2001 From: Jason Collins Date: Thu, 28 Mar 2024 16:28:48 -0700 Subject: [PATCH 2/2] Trivial: reduce log spam. (#2256) Co-authored-by: ChristopherHX --- act/common/executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/act/common/executor.go b/act/common/executor.go index a5eb079b..24173565 100644 --- a/act/common/executor.go +++ b/act/common/executor.go @@ -97,7 +97,7 @@ func NewParallelExecutor(parallel int, executors ...Executor) Executor { errs := make(chan error, len(executors)) if 1 > parallel { - log.Infof("Parallel tasks (%d) below minimum, setting to 1", parallel) + log.Debugf("Parallel tasks (%d) below minimum, setting to 1", parallel) parallel = 1 }