From 3949d74af58d72309706e8fc5353de080fae6f3e 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] chore: remove repetitive words (#2259) Signed-off-by: majorteach Co-authored-by: ChristopherHX --- IMAGES.md | 2 +- pkg/runner/action_composite.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IMAGES.md b/IMAGES.md index 7274ce2d737..62e795ee311 100644 --- a/IMAGES.md +++ b/IMAGES.md @@ -26,7 +26,7 @@ ## Images based on [`actions/virtual-environments`][gh/actions/virtual-environments] -**Note: `nektos/act-environments-ubuntu` have been last updated in February, 2020. It's recommended to update the image manually after `docker pull` if you decide to to use it.** +**Note: `nektos/act-environments-ubuntu` have been last updated in February, 2020. It's recommended to update the image manually after `docker pull` if you decide to use it.** | Image | Size | GitHub Repository | | --------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------- | diff --git a/pkg/runner/action_composite.go b/pkg/runner/action_composite.go index 2e36d2e46fb..1a47affe7d9 100644 --- a/pkg/runner/action_composite.go +++ b/pkg/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 {