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

Discrepancy in action/index.cjs After Running npm run build #140

Closed chibicco closed 4 months ago

chibicco commented 4 months ago

Hi,

I've noticed that action/index.cjs doesn't seem to be updated in line with the latest build, as running npm run build produces significant differences. This issue seems to impact the action's behavior with draft pull requests in GitHub Actions, leading to unexpected results.

Steps to Reproduce:

  1. Run npm run build locally.
  2. Compare the output action/index.cjs with the version in the repository.

Expected:

Actual:

Could this be looked into? Consistency between the build output and the repository version is crucial for draft PR support.

Thanks,

P.S. Apologies if my English isn't perfect. Thank you for your understanding.

anc95 commented 4 months ago

@chibicco Updated the action/index.cjs and released v1.0.13. Thank you for pointing out this.

chibicco commented 4 months ago

Thank you for your quick response. We have confirmed that it works in Draft PR :)