-
Notifications
You must be signed in to change notification settings - Fork 1.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
Atlantis server side repo config branch filter not working #1623
Comments
Looks duplicated #1539 |
Here branch is destination for pullrequest |
Hi @minamijoyo The reason why I am using It seems the last match is the one taking precedence and therefore atlantis doesn't do anything for development branches.
Is there a way to approach this currently? I am writing here because this issue seems to be somehow related to this issue but I'll be happy to open a new one if that's required, thanks! |
Hi @jluque0101, I’m not sure it is a valid configuration to specify multiple any Regarding the I guess what you need is a feature to customize settings based on both the repository ID and the base branch, isn’t it? If so, I recommend you open a new feature request. |
Thanks @minamijoyo is clear now, I believe I misunderstood how branch filter works. |
I've opened an issue which kinda relates to this here (which can maybe be closed?): #4245 The id repo & branch matcher behaviour wasn't clear for me: I had multiple same repo ids, but each for different branches, and didn't know whether the branch regex was incorrect, or something else (maybe the error sent could be improved too, coz I was just receiving: "command was run on a pull request which doesn't match base branches")) |
I'm using the latest version of Atlantis - https://github.com/runatlantis/atlantis/releases/tag/v0.17.0. According to this pull request - #1383, adding a branch in the server config should match only the pull request whose base branch matches the branch pattern.
I'm using the following configuration.
Atlantis is executing the terraform plan even if the base branch of the pull request is not local. My use case is similar to #982. I thought the latest release supporting branch filter should solve my use case. Am I missing something?
The text was updated successfully, but these errors were encountered: