mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 03:41:01 +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:
parent
7544abde62
commit
43264a5f8e
1 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue