You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example from server side repo config docs indicates that it's possible to use regex matching on pull requests by their base branch:
# branch is an regex matching pull requests by base branch
# (the branch the pull request is getting merged into).
# By default, all branches are matched
branch: /.*/
However, when I specify a branch field in the server side repo config like this:
Error: initializing server: parsing /etc/atlantis/repos.yaml file: yaml: unmarshal errors:
line 5: field branch not found in type raw.Repo
Output of atlantis version:
atlantis 0.16.1
The server side config works when the branch field is not specified. Could someone please take a look and confirm if branch field is supported or else point out where I went wrong 😅 ? Thanks in advance!
The text was updated successfully, but these errors were encountered:
Digging into this a bit more, it looks like the branch matcher functionality was merged in #1383 but hasn't made it into any of the releases yet. Fingers crossed this gets into the next release because for our use case it's quite critical.
The example from server side repo config docs indicates that it's possible to use regex matching on pull requests by their base branch:
However, when I specify a branch field in the server side repo config like this:
Atlantis throws this error:
Output of
atlantis version
:The server side config works when the branch field is not specified. Could someone please take a look and confirm if branch field is supported or else point out where I went wrong 😅 ? Thanks in advance!
The text was updated successfully, but these errors were encountered: