mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-24 22:04:38 +00:00
rename stepID to workflowID to reflect value (#3502)
address https://github.com/woodpecker-ci/woodpecker/issues/3494#issuecomment-2001986597
This commit is contained in:
@@ -237,7 +237,7 @@ func (b *StepBuilder) environmentVariables(metadata metadata.Metadata, axis matr
|
||||
return environ
|
||||
}
|
||||
|
||||
func (b *StepBuilder) toInternalRepresentation(parsed *yaml_types.Workflow, environ map[string]string, metadata metadata.Metadata, stepID int64) (*backend_types.Config, error) {
|
||||
func (b *StepBuilder) toInternalRepresentation(parsed *yaml_types.Workflow, environ map[string]string, metadata metadata.Metadata, workflowID int64) (*backend_types.Config, error) {
|
||||
var secrets []compiler.Secret
|
||||
for _, sec := range b.Secs {
|
||||
var events []string
|
||||
@@ -286,7 +286,7 @@ func (b *StepBuilder) toInternalRepresentation(parsed *yaml_types.Workflow, envi
|
||||
fmt.Sprintf(
|
||||
"wp_%s_%d",
|
||||
strings.ToLower(ulid.Make().String()),
|
||||
stepID,
|
||||
workflowID,
|
||||
),
|
||||
),
|
||||
compiler.WithProxy(b.ProxyOpts),
|
||||
|
Reference in New Issue
Block a user