-
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
Option to ignore or skip a PR for autoplanning by github label/comment #632
Comments
Fwiw you could achieve this with a custom workflow that makes a call back to GitHub to check the commits. |
@lkysow thanks, that sounds like a great use case for custom workflow. I have a question though... If our repo looks like this, with each directory being a "project":
And maybe we write a script at |
Yep! But as I understand it, when we set the Is there any env var we could use to easily refer back to the root of the repository? |
Ahh I see the issue. Not right now, although you could submit a PR to add a new variable called |
You can use |
Ah, very neat. Thanks. Feel free to close this. Or leave it open as a feature idea/request. Up to you @lkysow |
Maybe leveraging draft PRs is the way to go here? If it's a draft, a plan isn't gonna be as useful (and we shouldn't be applying from a draft, I'd think?) |
Yep, sounds good |
Atlantis doesn't understand draft PR's right now (#491). I'd love a PR for Atlantis to ignore draft PRs. That would solve the first part of #491 and would help you with your issue Max. The downside is that when you moved the PR out of draft, you'd have to manually comment |
This would be a pretty useful feature in combination with dependabot! |
I raised a pull request to add such feature (implemented only for Github and Gitlab clients in this PR): #3649 |
We have about 100 projects in a single repo, spread across about 10 different AWS accounts with about 30 different people making changes.
Naturally, different people have different work flows, and it's popular to create a PR and mark with "Work in Progress" with a
WIP
label, leave it open, add commits and then when ready remove the label and request review. In this scenario Atlantis will add plan comments for every commit which makes reading the PR very difficult both on Github and the email notifications (that include the full length comment).It would be nice to be able to have Atlantis ignore or skip a PR based on labels or comments. For example, like Travis does with the
[skip travis]
commit message.Does that sound reasonable? Or is it achievable in another way? I know we can just disable the autoplanner but then it's up to the user to manually choose the projects to plan, right?
The text was updated successfully, but these errors were encountered: