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

Add workflows to manage and notify about issues #75890

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

deepakrathore33
Copy link
Contributor

This PR introduces three new GitHub Actions workflows to help manage and notify about issues in the repository:

  1. Remind Owners About Inactive Issues: This workflow checks for issues labeled as "untriaged" that have been inactive for over 180 days and do not have the "Area-Compilers" label. It logs these issues for review.
  2. Notify Area Owners to Triage Issues: This workflow checks for issues labeled as "untriaged" that have been open for more than 7 days and do not have the "Area-Compilers" label. It logs these issues for review.
  3. Spot Issues Missing Labels or Assignments: This workflow checks for issues labeled as "untriaged" that are not assigned to anyone and do not have the "Area-Compilers" label. It logs these issues if they are missing other labels apart from "untriaged".

These workflows will help ensure that issues are properly triaged and managed in a timely manner.

@deepakrathore33 deepakrathore33 requested a review from a team as a code owner November 13, 2024 16:31
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 13, 2024

// Check if the issue has been in the untriaged state for more than the threshold (7 days)
if (timeSinceCreated > timeThreshold) {
console.log(`Issue #${issue.number} has been in the "untriaged" state for over a week and hasn't been triaged yet.`);
Copy link
Member

Choose a reason for hiding this comment

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

So this just logs something to the output of the workflow run? Is the expectation that we will check these outputs regularly?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! For now, the workflow just logs the issues to the output. We plan to run the workflows manually first to make sure they're catching the right issues. Once we confirm that, we can look into adding more automation like notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants