Skip to content

Number per env in automatic prune #21

Closed
@r0mflip

Description

@r0mflip

Can we make the number key accept object so that we can specify values for multiple envs

custom:
  prune:
    automatic: true
    number:
      dev: 1
      prod: 3
      other: 3

Also supporting old behavior

custom:
  prune:
    automatic: true
    number: 3

IMHO This helps in a more declarative process in CI/CD

And also if this is acceptable I would like to work on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions