anc95 / ChatGPT-CodeReview

🐥 A code review bot powered by ChatGPT
https://github.com/apps/cr-gpt
ISC License
3.77k stars 360 forks source link

can we exclude auto generated files for code review? #121

Open seaguest opened 11 months ago

seaguest commented 11 months ago

Hi,

We have some auto generated files, I want to skip code review for those files (by regular expression pattern), is that possible?

anc95 commented 11 months ago

Yes, currently we support the IGNORE environment variable, where the value is the filename. However, it is not very convenient to use. I will change it to support glob matching, and once I implement this change, I will publish it.h and publish this then

wwzeng1 commented 11 months ago

@seaguest @anc95 Happy to use Sweep to help with this. It writes pull requests using AI. Feel free to look at our repo: https://github.com/sweepai/sweep