Skip to content

Commit

Permalink
Revert "fix: Preventing merging without running atlantis apply on Git…
Browse files Browse the repository at this point in the history
…lab (#4651)"

This reverts commit e286690.
  • Loading branch information
jamengual authored Jul 3, 2024
1 parent 5d82bdb commit f212590
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions server/events/plan_command_runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,6 @@ func (p *PlanCommandRunner) runAutoplan(ctx *command.Context) {
ctx.Log.Warn("unable to update plan commit status: %s", err)
}

if baseRepo.VCSHost.Type == models.Gitlab {
if err := p.commitStatusUpdater.UpdateCombinedCount(ctx.Log, ctx.Pull.BaseRepo, ctx.Pull, models.PendingCommitStatus, command.Apply, 0, len(projectCmds)); err != nil {
ctx.Log.Warn("unable to update apply commit status: %s", err)
}
}

// discard previous plans that might not be relevant anymore
ctx.Log.Debug("deleting previous plans and locks")
p.deletePlans(ctx)
Expand Down

0 comments on commit f212590

Please sign in to comment.