We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a51c1d commit c8059f4Copy full SHA for c8059f4
pkg/state/context.go
@@ -66,7 +66,7 @@ func IsDryRun(ctx context.Context) bool {
66
}
67
68
func ShouldUpdatePipeline(ctx context.Context) bool {
69
- return ctx.Value(updatePipeline).(bool) //nolint:forcetypeassert
+ return !IsDryRun(ctx) && ctx.Value(updatePipeline).(bool) //nolint:forcetypeassert
70
71
72
func MergeRequestID(ctx context.Context) string {
0 commit comments