Skip to content

Commit dbef96d

Browse files
jamengualchenrui333
authored andcommitted
revert: "fix: Preventing merging without running atlantis apply on Gitlab" (#4721)
1 parent b3dabab commit dbef96d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

server/events/plan_command_runner.go

-6
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,6 @@ func (p *PlanCommandRunner) runAutoplan(ctx *command.Context) {
119119
ctx.Log.Warn("unable to update plan commit status: %s", err)
120120
}
121121

122-
if baseRepo.VCSHost.Type == models.Gitlab {
123-
if err := p.commitStatusUpdater.UpdateCombinedCount(ctx.Log, ctx.Pull.BaseRepo, ctx.Pull, models.PendingCommitStatus, command.Apply, 0, len(projectCmds)); err != nil {
124-
ctx.Log.Warn("unable to update apply commit status: %s", err)
125-
}
126-
}
127-
128122
// discard previous plans that might not be relevant anymore
129123
ctx.Log.Debug("deleting previous plans and locks")
130124
p.deletePlans(ctx)

0 commit comments

Comments
 (0)