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

allow same package ecosystem directory, but with different constraint #4672

Closed
climba03003 opened this issue Jan 27, 2022 · 2 comments
Closed
Labels

Comments

@climba03003
Copy link

climba03003 commented Jan 27, 2022

We would like to split the update interval for production and development package of npm. The main reason is that most of development package is update very fast and it will spam the PR too much.

The below configuration is what we tried to achieve but no luck.
It throws an error The property '#/updates/2' is a duplicate. Update configs must have a unique combination of 'package-ecosystem', 'directory', and 'target-branch'
https://github.com/fastify/fastify/runs/4952267835

version: 2
updates:
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "daily"
    allow:
      - dependency-type: "production"
 
  - package-ecosystem: "npm"
    directory: "/"
    schedule:
      interval: "monthly"
    allow:
      - dependency-type: "development"
@climba03003 climba03003 added the T: feature-request Requests for new features label Jan 27, 2022
@mwaddell
Copy link
Contributor

Duplicate of #2390

@jeffwidman
Copy link
Member

Thanks @mwaddell ❤️ , closing as a duplicate of:

@jeffwidman jeffwidman closed this as not planned Won't fix, can't repro, duplicate, stale Feb 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants