-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat: add other-vcs-status-names-to-ignore #4978
base: main
Are you sure you want to change the base?
feat: add other-vcs-status-names-to-ignore #4978
Conversation
`other-vcs-status-names-to-ignore` is a comma-separated list of atlantis vcs status names that will be ignored when deciding if the PR is mergeable or not. This PR is a proposal to solve [runatlantis#2848](runatlantis#2848) for github client.
interesting proposition. vcs-status-to-ignore:
- name1
- name2
- etc |
@jamengual thanks for the feedback, why do you think it is much better? I would actually imagine that having |
Because we have a trillion flags, and we want to avoid having more that is the main reason, plus if is moved there then you can have different repos regexes with different statuses. |
@jamengual I've been looking at the code and I believe it's gonna be pretty complex to do
because the FetchPullStatus is not called at the repo config level. It's basically a sort of boolean ("has been approved" and "is mergeable", no conditions) Also, I am struggling to understand the benefit of having different repos regexes with different statuses. Simply put, #2848 is basically a bug where multiple atlantis instances with different vcs status name conflict with each other and forbid the apply when Wdyt? |
Sorry, this is a standard ask we ask everyone. |
Small nitpick, |
FYI, I've tested this change on my environment (Dev, Staging, prod) with |
what
other-vcs-status-names-to-ignore
is a comma-separated list of atlantis vcs status names that will be ignored when deciding if the PR is mergeable or not. This allows us to setmergeable
with multiple atlantis running with multiple vcs status names for the same repository.why
This PR is a proposal to close #2848
tests
I have only runmake test
but planning on testing in my own environment if the proposal is accepted.Tested with
make test
and on my environment withbappr/atlantis:cud-ignore-vcs-status-names-ca1171e0dd174edbbd63f8f6ae560caa6af4c0c7-0
.references
closes #2848