Skip to content

Conversation

@bartlomieju
Copy link
Member

Copilot AI review requested due to automatic review settings November 6, 2025 10:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces an automated AI-powered issue triage system for external contributors. The workflow uses AI to analyze and provide initial assessments of newly opened issues, helping to streamline the triage process for the Deno project.

Key changes:

  • Adds a GitHub Actions workflow that triggers on new issues from non-organization members
  • Implements three AI prompt templates for different issue types (bugs, features, questions)
  • Configures the workflow to use GPT-4o-mini with a 500 token limit for assessments

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/issue_ai_review.yml Main workflow definition that triggers AI assessment on new issues from external contributors
.github/prompts/bug-assessment.prompt.yml AI prompt template for analyzing and triaging bug reports
.github/prompts/feature-assessment.prompt.yml AI prompt template for analyzing and triaging feature requests
.github/prompts/question-assessment.prompt.yml AI prompt template for analyzing and triaging user questions

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

name: AI review for external issues
runs-on: ubuntu-latest
# Only run for issues from users outside the denoland organization
if: github.event.issue.author_association != 'MEMBER' && github.event.issue.author_association != 'OWNER'
Copy link

Copilot AI Nov 6, 2025

Choose a reason for hiding this comment

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

The condition excludes MEMBER and OWNER but doesn't account for COLLABORATOR, who typically also has write access to the repository. Consider adding '&& github.event.issue.author_association != 'COLLABORATOR'' to the condition to exclude all trusted contributors from AI review.

Suggested change
if: github.event.issue.author_association != 'MEMBER' && github.event.issue.author_association != 'OWNER'
if: github.event.issue.author_association != 'MEMBER' && github.event.issue.author_association != 'OWNER' && github.event.issue.author_association != 'COLLABORATOR'

Copilot uses AI. Check for mistakes.
bartlomieju added a commit that referenced this pull request Nov 6, 2025
@bartlomieju
Copy link
Member Author

Closing in favor of #31211 for now

@bartlomieju bartlomieju closed this Nov 6, 2025
@bartlomieju bartlomieju deleted the add_ai_issue_review branch November 6, 2025 18:02
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.

1 participant