Skip to content

Close inactive issues awaiting more information - #9570

Merged
dibarbet merged 6 commits into
mainfrom
copilot/add-resource-management-workflow
Jul 24, 2026
Merged

Close inactive issues awaiting more information#9570
dibarbet merged 6 commits into
mainfrom
copilot/add-resource-management-workflow

Conversation

Copilot AI commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Issues labeled Needs More Info can remain open indefinitely without follow-up.

  • Resource management
    • Run a daily scheduled search.
    • Close open issues with the label after 14 days without activity.

Co-authored-by: dibarbet <5749229+dibarbet@users.noreply.github.com>
Co-authored-by: dibarbet <5749229+dibarbet@users.noreply.github.com>
@dibarbet dibarbet closed this Jul 23, 2026
@dibarbet dibarbet reopened this Jul 23, 2026
Comment thread .github/policies/resourceManagement.yml Outdated
Comment on lines +28 to +33
- weekday:
day: Saturday
time: 0:0
- weekday:
day: Sunday
time: 0:0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot can you remove saturday and sunday?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Removed the Saturday and Sunday schedules in 62a570c.

Co-authored-by: dibarbet <5749229+dibarbet@users.noreply.github.com>
Copilot AI requested a review from dibarbet July 23, 2026 22:47
@dibarbet
dibarbet marked this pull request as ready for review July 24, 2026 00:04
@dibarbet
dibarbet requested a review from a team as a code owner July 24, 2026 00:04
Copilot AI review requested due to automatic review settings July 24, 2026 00:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a GitOps Resource Management scheduled search to automatically close stale GitHub issues that are labeled Needs More Info, preventing them from staying open indefinitely in the repository’s issue tracker.

Changes:

  • Introduces a new scheduledSearches rule to find open issues labeled Needs More Info with no activity for 14 days.
  • Automatically closes matching issues via closeIssue.
Show a summary per file
File Description
.github/policies/resourceManagement.yml Adds a scheduled search to close inactive “Needs More Info” issues after 14 days.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 2

Comment on lines +12 to +27
frequencies:
- weekday:
day: Monday
time: 0:0
- weekday:
day: Tuesday
time: 0:0
- weekday:
day: Wednesday
time: 0:0
- weekday:
day: Thursday
time: 0:0
- weekday:
day: Friday
time: 0:0
Comment on lines +35 to +36
actions:
- closeIssue
Co-authored-by: dibarbet <5749229+dibarbet@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 24, 2026 01:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because there is no eligible user to bill. To allow Copilot reviews on bot-authored pull requests, enable direct organization billing in your organization's Copilot settings.

Copilot AI review requested due to automatic review settings July 24, 2026 01:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot's findings

Comments suppressed due to low confidence (1)

.github/policies/resourceManagement.yml:16

  • PR description says the scheduled search runs daily, but the policy currently schedules it only Monday–Friday. Either add Saturday/Sunday entries (if you intend daily) or update the PR description to match the weekday-only behavior.
      frequencies:
      - weekday:
          day: Monday
          time: 0:0
      - weekday:
  • Files reviewed: 1/1 changed files
  • Comments generated: 0 new

@dibarbet
dibarbet merged commit f03afa5 into main Jul 24, 2026
4 checks passed
@dibarbet
dibarbet deleted the copilot/add-resource-management-workflow branch July 24, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants