diff --git a/pkg/build/pipelines/go/bump.yaml b/pkg/build/pipelines/go/bump.yaml index 05211719a..098f80c31 100644 --- a/pkg/build/pipelines/go/bump.yaml +++ b/pkg/build/pipelines/go/bump.yaml @@ -20,6 +20,9 @@ inputs: tidy: default: true description: Run go mod tidy command before and after the bump + skip-initial-tidy: + default: false + description: Skip the initial go mod tidy command show-diff: default: false description: Show the difference between the go.mod file before and after the bump @@ -32,4 +35,4 @@ pipeline: cd "${{inputs.modroot}}" # We use the --tidy flag to run go mod tidy before and after in some cases (if old versions of go are used, we need to update the go.mod format) - gobump --packages "${{inputs.deps}}" --replaces "${{inputs.replaces}}" --tidy=${{inputs.tidy}} --show-diff=${{inputs.show-diff}} --go-version=${{inputs.go-version}} --compat=${{inputs.tidy-compat}} + gobump --packages "${{inputs.deps}}" --replaces "${{inputs.replaces}}" --tidy=${{inputs.tidy}} --skip-initial-tidy=${{inputs.skip-initial-tidy}} --show-diff=${{inputs.show-diff}} --go-version=${{inputs.go-version}} --compat=${{inputs.tidy-compat}}