eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
1.02k stars 38 forks source link

Add ChatGPT for automated code reviews #6

Open elfenpiff opened 11 months ago

elfenpiff commented 11 months ago

Brief feature description

Explore if the bot from the article: https://www.cncf.io/blog/2023/06/06/a-chatgpt-powered-code-reviewer-bot-for-open-source-projects/ can be applied to iceoryx2

There is also a github action: https://github.com/coderabbitai/ai-pr-reviewer

hydroid7 commented 11 months ago

I think a first step in this direction would be to add an automatic audit using https://crates.io/crates/cargo-audit

Extending the CI file wouldn't be that hard either:

iox2_cargo_fmt_and_clippy_template: &IOX2_CARGO_FMT_AND_CLIPPY
  cargo_fmt_and_clippy_script:
    - cargo fmt --all -- --check
    - cargo clippy -- -D warnings
    - cargo audit
elBoberido commented 11 months ago

@hydroid7 indeed. I'll create a separate issue for cargo-audit