Skip to content

Add issue completeness check workflow#1518

Merged
sanjay-kv merged 2 commits into
recodehive:mainfrom
saurabhhhcodes:codex/issue-completeness-workflow-1505
May 15, 2026
Merged

Add issue completeness check workflow#1518
sanjay-kv merged 2 commits into
recodehive:mainfrom
saurabhhhcodes:codex/issue-completeness-workflow-1505

Conversation

@saurabhhhcodes
Copy link
Copy Markdown
Contributor

Summary

  • Add an Issue Completeness Check workflow for opened, edited, and reopened issues
  • Use GitHub Models via actions/ai-inference@v1 to detect missing reproduction steps, version/environment details, screenshots/logs, and expected vs actual behavior
  • Post a friendly maintainer-style comment only when missing details are detected
  • Pass the model response through an environment variable before commenting to avoid Markdown/script quoting issues

Validation

  • Parsed workflow YAML locally with Ruby YAML parser
  • Ran git diff --check

Closes #1505

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 15, 2026

Someone is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@github-actions github-actions Bot added in-review The current changes are in review and would need approval and testing before merging level 1 10 points recode this is label for leaderboard labels May 15, 2026
@github-actions github-actions Bot added this to the recode:launch 3.0 milestone May 15, 2026
@github-actions github-actions Bot added level:intermediate gssoc labels 35pts quality:clean gssoc label x1.2 type:testing gssoc label 10pts labels May 15, 2026
@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1505:

  • Labels: level 1, recode, level:intermediate, quality:clean, type:testing
  • Milestone: recode:launch 3.0

@Adez017
Copy link
Copy Markdown
Member

Adez017 commented May 15, 2026

Hi @saurabhhhcodes thanks for the PR , can you just confirm is the changes been tested beforehand ?
Also are you contributing towards gssoc?

Copy link
Copy Markdown
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

Adds a new GitHub Actions workflow to automatically analyze issue completeness with GitHub Models and request missing details via an issue comment.

Changes:

  • Adds an issue workflow triggered on opened, edited, and reopened issues.
  • Uses actions/ai-inference@v1 to assess missing reproduction, environment, logs/screenshots, or expected/actual details.
  • Posts the AI response through actions/github-script using an environment variable.

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


on:
issues:
types: [opened, edited, reopened]
Comment on lines +28 to +35
prompt: |
Analyze this GitHub issue for completeness.

Title:
${{ github.event.issue.title }}

Body:
${{ github.event.issue.body }}
types: [opened, edited, reopened]

permissions:
contents: read
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
recode-website Ready Ready Preview, Comment May 15, 2026 5:41am

@github-actions
Copy link
Copy Markdown

✅ Synchronized metadata from Issue #1505:

  • Labels: level 1, recode, level:intermediate, quality:clean, type:testing
  • Milestone: recode:launch 3.0

@saurabhhhcodes
Copy link
Copy Markdown
Contributor Author

Thanks for reviewing, @Adez017. Yes, I am contributing under GSSoC 2026.

Testing/validation done:

  • Parsed .github/workflows/issue-completeness-check.yml with Ruby YAML successfully.
  • Ran git diff --check successfully.
  • Re-reviewed the workflow logic after Copilot feedback and pushed a follow-up commit that:
    • removes the unused contents: read permission,
    • treats issue title/body as untrusted input with explicit delimiters,
    • templates and sanitizes the public comment instead of posting raw model output,
    • updates an existing bot completeness comment instead of creating duplicates on edits/reopens.

Since this is a GitHub Actions workflow for issue events, the best functional validation will happen when the workflow runs on a test/incomplete issue in the repository context after merge/maintainer approval.

@sanjay-kv sanjay-kv merged commit ed8f895 into recodehive:main May 15, 2026
6 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in @recode-web May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gssoc:approved gssoc label in-review The current changes are in review and would need approval and testing before merging level:intermediate gssoc labels 35pts level 1 10 points quality:clean gssoc label x1.2 recode this is label for leaderboard type:testing gssoc label 10pts

Projects

Status: Done
Status: Q2 2026 – March-June

Development

Successfully merging this pull request may close these issues.

Issue completeness: GitHub workflow Implementation

4 participants