You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, great work on this Action. I am wondering if it's possible to apply different labels based on age. Right now I have a config which looks a bit like this:
The problem I am having with this is that it will apply both labels after 22 days, whereas I would ideally like it to simply apply one or the other based on the age of the pull request (or issue, but in my case for PRs). Something like this I guess (similar to the upper/lower limits for file changes).
Is there a way to configure this already (maybe with a negate rule?), or is this something we would need to add? I know about the last modified matcher, but the goal is to label PRs which were originally opened a long time ago (doesn't matter if they have been touched recently).
If this is a new feature, please let me know where I can get started implementing this.
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting! Yes, this makes sense I should have considered this case :)
I think we can solve this by replicating the format of last modified. It's a small change so I can probably get it done soon. But if you want to take a stab at it this is what I'd have in mind:
Probably keep the at-least / at-most parameters mostly for consistency
Retain backwards compatibility. age: 33d should work.
Hi there, great work on this Action. I am wondering if it's possible to apply different labels based on age. Right now I have a config which looks a bit like this:
The problem I am having with this is that it will apply both labels after 22 days, whereas I would ideally like it to simply apply one or the other based on the age of the pull request (or issue, but in my case for PRs). Something like this I guess (similar to the upper/lower limits for file changes).
Is there a way to configure this already (maybe with a
negate
rule?), or is this something we would need to add? I know about the last modified matcher, but the goal is to label PRs which were originally opened a long time ago (doesn't matter if they have been touched recently).If this is a new feature, please let me know where I can get started implementing this.
The text was updated successfully, but these errors were encountered: