cds-snc / cds-ai-codereviewer

CDS AI Code Reviewer: Enhance your GitHub workflow with AI-powered code review! Get intelligent feedback and suggestions on pull requests using OpenAI's GPT-4 API, improving code quality and saving developers time.
MIT License
0 stars 0 forks source link

Re-enable the ai review action with a few conditions #11

Closed jimleroyer closed 1 month ago

jimleroyer commented 1 month ago

Summary | Résumé

This change re-enables the AI code review github action but changes its trigger. Whereas before, this triggered on new pull request or updates to it, this would now trigger on a commit that contains the [review] keyword in the description.

[!CAUTION] This might break the script as it expects a github event of opened or synchronize. If that breaks it, we need to look how much changes that would require and implement these.

Note: Ajoutez vous une nouvelle page par Articles GC? Assurez vous d'ajouter le chemin dans les règles WAF.

Test instructions | Instructions pour tester la modification

The job was skipped on this PR as no commit contained the keyword [review]: image