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

Drop close issue #655

Merged
merged 1 commit into from
Nov 14, 2023
Merged

Drop close issue #655

merged 1 commit into from
Nov 14, 2023

Conversation

kbrock
Copy link
Member

@kbrock kbrock commented Nov 9, 2023

lets drop the auto close feature for stale PRs

I was not able to run tests locally, so this is more of a conversation starter.

@kbrock kbrock added the wip label Nov 9, 2023
end

def handle_newly_stale_issues
query = "is:open archived:false updated:<#{stale_date.strftime('%Y-%m-%d')}"
query = "is:open archived:false -label:stale updated:<#{stale_date.strftime('%Y-%m-%d')}"
Copy link
Member

@Fryguy Fryguy Nov 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if we remove the -label:stale, then this will just comment every 3 months, which is probably what we want.

@kbrock
Copy link
Member Author

kbrock commented Nov 14, 2023

update:

  • fix tests
  • make a single query instead of multiple queries (with no date filter)
  • all prs and issue receive stale messages every 3 months

update:

  • add the date filter back in

We still want to mark issues as stale.
And we want to do it every 3 months

But we no longer want to close them after an additional 3 months.
Instead, we will comment over and over
@miq-bot
Copy link
Member

miq-bot commented Nov 14, 2023

Checked commit kbrock@ab139b3 with ruby 2.6.10, rubocop 1.28.2, haml-lint 0.35.0, and yamllint
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@kbrock kbrock changed the title [WIP] drop close issue Drop close issue Nov 14, 2023
@miq-bot miq-bot removed the wip label Nov 14, 2023
@Fryguy Fryguy merged commit 87c15c5 into ManageIQ:master Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants