Skip to content

Commit

Permalink
revert: "fix: Preventing merging without running atlantis apply on Gi…
Browse files Browse the repository at this point in the history
…tlab" (#4721)
  • Loading branch information
jamengual authored and chenrui333 committed Jul 15, 2024
1 parent b3dabab commit dbef96d
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 dbef96d

Please sign in to comment.