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

Add a groups option for matched directory when using directories #10200

Open
1 task done
anthonysomerset opened this issue Jul 12, 2024 · 0 comments
Open
1 task done
Labels
L: terraform Terraform packages T: feature-request Requests for new features

Comments

@anthonysomerset
Copy link

anthonysomerset commented Jul 12, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Feature description

Tangentially related to #10090

I can workaround that issue there by using the groups config, specifically in my case:

  - package-ecosystem: "terraform" # See documentation for possible values
    directories: 
      - "/*" # Location of package manifests
    groups:
      minor-and-patch:
        update-types:
          - "patch"
          - "minor"
    schedule:
      interval: "weekly"

this works but only gives me 1 PR, i would like to support a scenario where i could configure a groups config option that would create a PR for each matched directory, for example

  - package-ecosystem: "terraform" # See documentation for possible values
    directories: 
      - "/*" # Location of package manifests
    groups:
      matched-directories-group:
        group-by: directories
    schedule:
      interval: "weekly"

so for a given set of directories

azure-networking
azure-dns
azure-firewall

it would instead create 3 PR's, one for each folder with the folder mentioned in the PR subject

@anthonysomerset anthonysomerset added the T: feature-request Requests for new features label Jul 12, 2024
@github-actions github-actions bot added the L: terraform Terraform packages label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: terraform Terraform packages T: feature-request Requests for new features
Projects
Status: No status
Development

No branches or pull requests

1 participant