Fix PR analysis workflow permissions#194
Conversation
|
@SarthakKharche Please update the PR with screenshots or implementation proof so the changes can be verified easily. |
|
@imDarshanGK Thank You |
imDarshanGK
left a comment
There was a problem hiding this comment.
@SarthakKharche Please remove the hard dependency on QYVERIXAI_API_KEY or make it optional with a safe public default. The PR analysis action should work without extra secret setup, since the QyverixAI backend is already public-facing for this use case. Once that is fixed, I can re-review
|
@imDarshanGK Thank You |
Summary
Adds a GitHub Actions workflow (.github/workflows/pr-analysis.yml) that automatically runs QyverixAI code analysis on every pull request. The workflow detects changed .py, .js, and .ts files, sends each to the QyverixAI /analyze/ endpoint, and posts a formatted comment to the PR with scores, grades, and issues per file. If any file scores below 60, a needs-improvement label is automatically created and applied.
Fixes #130
Type of Change
Testing
pytest -q)Checklist