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

feat: add branch matching in repo level config #1833

Conversation

courteouselk
Copy link

This PR adds the possibility to match branches in repo level atlantis.yaml config file. With this it becomes possible to use atlantis to deploy different projects for different base branches of the PR (for example: the PR towards develop branch should deploy test environment, while PR towards main should deploy to production).

portion := comment[i*maxWithSep : upTo]
if i < numComments-1 {
portion += sepEnd
head := 0
Copy link
Author

Choose a reason for hiding this comment

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

Explanation: Split the large comments at LF characters (and not at the middle of the word/line).

@courteouselk courteouselk marked this pull request as ready for review September 28, 2021 14:00
@courteouselk courteouselk requested a review from a team as a code owner September 28, 2021 14:00
@chenrui333 chenrui333 changed the title Add branch matching in repo level config feat: add branch matching in repo level config Oct 21, 2021
@jamengual jamengual added feature New functionality/enhancement waiting-on-review Waiting for a review from a maintainer labels May 13, 2022
@jamengual
Copy link
Contributor

@courteouselk please fix the conflicts, thanks for the contribution

@jamengual
Copy link
Contributor

Closing, it as been more than 30 days from last post and no other activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement waiting-on-review Waiting for a review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants