In the SCM Provider generator, there are several parameters provided that can be later used for the post selector like short sha, labels, branch normalized. I would like to add to those parameters the commit age.
Motivation
My use case is using ApplicationSet to generate feature environments with the generator, but only keeping envs that the last commit was less then X days ago. This can be helpful to filter out old unused branches and reduce cloud costs on unutilized environments.
Proposal
The data is most likely already provided from the different SCM providers APIs, just need to add it to the parameters. I will gladly make a PR if the enhancement proposal is accepted.
Summary
In the SCM Provider generator, there are several parameters provided that can be later used for the post selector like short sha, labels, branch normalized. I would like to add to those parameters the commit age.
Motivation
My use case is using ApplicationSet to generate feature environments with the generator, but only keeping envs that the last commit was less then X days ago. This can be helpful to filter out old unused branches and reduce cloud costs on unutilized environments.
Proposal
The data is most likely already provided from the different SCM providers APIs, just need to add it to the parameters. I will gladly make a PR if the enhancement proposal is accepted.