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

Impossible to merge (apply) when 0 projects where planned and disable-apply-all is used #1359

Closed
rickard-von-essen opened this issue Jan 21, 2021 · 1 comment

Comments

@rickard-von-essen
Copy link

  • Atlantis version: 0.15.1

Steps to reproduce

  1. Run Atlantis with --disable-apply-all
  2. Use multiple projects.
  3. In GitHub, require that atlantis/plan and atlantis/apply succeeds before auto-merging.
  4. Make a change to a file (say README.md) affecting zero projects and open a PR.

Now it's not possible to get this merge since I can't:

  • Run atlantis apply - it will result in:

Error: Running atlantis apply without flags is disabled. You must specify which project to apply via the -d

, -w or -p flags.

  • Run atlantis apply -p <project name> etc (since there is no valid project names to supply)

The only workaround is to ask a repo owner to temporarily disable the requiring atlantis/apply and manually merge the PR.


Example:

atlantis-empty-apply

@nishkrishnan
Copy link
Contributor

This should be solved by: #1323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants