Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: broken automerge logic #3591

Merged
merged 2 commits into from
Jul 10, 2023
Merged

Conversation

pseudomorph
Copy link
Contributor

what

Tests were broken after merging #3379 ; the logic for reconciling automerge between project and global levels was incorrect, as global settings were being used when project-level automerge was configured true. This change addresses the issue by passing project-level settings in whole if a project is being used.

why

To fix broken tests and broken automerge logic.

tests

  • previously failing e2e tests are now passing.

references

@pseudomorph pseudomorph requested a review from a team as a code owner July 10, 2023 14:34
@github-actions github-actions bot added the go Pull requests that update Go code label Jul 10, 2023
@pseudomorph pseudomorph changed the title fix broken automerge logic fix: broken automerge logic Jul 10, 2023
GenPage
GenPage previously approved these changes Jul 10, 2023
Copy link
Member

@GenPage GenPage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@GenPage
Copy link
Member

GenPage commented Jul 10, 2023

Looks like https://github.com/runatlantis/atlantis/actions/runs/5509408415/jobs/10042072699?pr=3591#step:4:162 is still failing and not running twice. Unsure if related.

@GenPage GenPage merged commit 1c232b5 into runatlantis:main Jul 10, 2023
12 checks passed
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
* fix automerge logic.

* address failing autoplan test with automerge
ijames-gc pushed a commit to gocardless/atlantis that referenced this pull request Feb 13, 2024
* fix automerge logic.

* address failing autoplan test with automerge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants