actions / stale

Marks issues and pull requests that have not had recent interaction
MIT License
1.35k stars 363 forks source link

Have one workflow ignore the state saved by another #1137

Open rcomer opened 7 months ago

rcomer commented 7 months ago

Description: Given two workflows in the same repo using this action, have one workflow ignore the state saved by another. I think either of these two options would work for us:

Justification: Over in Matplotlib, we are using the action to slowly work through a large backlog of issues. We want to keep notifications fairly minimal so have operations-per-run set low. However, we don't want steps like removing the label after update or closing the issue to wait until we've worked through the whole backlog. So when we updated to v9, we also added a second workflow using the action with days-before-stale=-1 and a much higher operations-per-run (see my PR here https://github.com/matplotlib/matplotlib/pull/27523). The two workflows run on alternate days. Once #1136 is fixed, I believe what will happen is

Since only the original workflow is adding the label, we still do not make progress through our backlog! If each workflow has its own state, this would not be a problem. Also if we could tell the second workflow not to look for a state, it would not be a problem.

Are you willing to submit a PR?

Willing, yes, but I do not have skills with typescript....

HarithaVattikuti commented 7 months ago

Hello @rcomer Thank you for creating this feature request. We will investigate it and get back to you as soon as we have some feedback.

echang49 commented 2 months ago

Old issue but PR is created for this issue.

rcomer commented 2 months ago

Thank you @echang49!

VOVELEE commented 1 month ago

It will be really great if #1169 is merged. As mentioned in the PR I am hitting the same issue