chore: remove repetitive words (#2259)
Signed-off-by: majorteach <csgcgl@126.com> Co-authored-by: ChristopherHX <christopher.homberger@web.de>
This commit is contained in:
		@@ -26,7 +26,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Images based on [`actions/virtual-environments`][gh/actions/virtual-environments]
 | 
					## 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                                       |
 | 
					| Image                                                                             | Size                                                                       | GitHub Repository                                       |
 | 
				
			||||||
| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------- |
 | 
					| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------- |
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -27,7 +27,7 @@ func evaluateCompositeInputAndEnv(ctx context.Context, parent *RunContext, step
 | 
				
			|||||||
		envKey := regexp.MustCompile("[^A-Z0-9-]").ReplaceAllString(strings.ToUpper(inputID), "_")
 | 
							envKey := regexp.MustCompile("[^A-Z0-9-]").ReplaceAllString(strings.ToUpper(inputID), "_")
 | 
				
			||||||
		envKey = fmt.Sprintf("INPUT_%s", strings.ToUpper(envKey))
 | 
							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
 | 
							// evaluated value from the environment
 | 
				
			||||||
		_, defined := step.getStepModel().With[inputID]
 | 
							_, defined := step.getStepModel().With[inputID]
 | 
				
			||||||
		if value, ok := stepEnv[envKey]; defined && ok {
 | 
							if value, ok := stepEnv[envKey]; defined && ok {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user