Skip to content

Cannot define multiple workflows for the same repo ID – needs branch-based disambiguation #5540

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

Open
kimjanghyun1010 opened this issue Apr 15, 2025 · 0 comments
Labels
feature New functionality/enhancement

Comments

@kimjanghyun1010
Copy link

kimjanghyun1010 commented Apr 15, 2025

I want to configure multiple workflows for a single repo by using different branch filters.

Currently, Atlantis requires each repos.id to be unique, which makes it impossible to define separate workflows for different branches (e.g., main, develop) under the same repo.

repos:
  - id: /.*my-repo.*/
    branch: "/^main$/"
    workflow: production

  - id: /.*my-repo.*/
    branch: "/^develop$/"
    workflow: staging
@kimjanghyun1010 kimjanghyun1010 added the feature New functionality/enhancement label Apr 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality/enhancement
Projects
None yet
Development

No branches or pull requests

1 participant