Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🔧 Add .coderabbit.yaml to exclude generated files from CodeRabbit reviews #73

Open
coderabbitai bot opened this issue Sep 29, 2024 · 2 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@coderabbitai
Copy link

coderabbitai bot commented Sep 29, 2024

As requested by @ccamel, we should add a .coderabbit.yaml configuration file to the root directory of the repository to exclude the api, graphs and history folders from being reviewed by CodeRabbit, as they contain generated files from the Upptime monitoring tool.

Pull Request: #72
Comment: #72 (comment)

@github-project-automation github-project-automation bot moved this to 📋 Backlog in 💻 Development Sep 29, 2024
@ccamel ccamel moved this from 📋 Backlog to 📆 To do in 💻 Development Sep 29, 2024
@ccamel ccamel changed the title Add .coderabbit.yaml to exclude generated files from CodeRabbit reviews 🔧 Add .coderabbit.yaml to exclude generated files from CodeRabbit reviews Sep 29, 2024
@axone-protocol axone-protocol deleted a comment from coderabbitai bot Sep 29, 2024
@ccamel
Copy link
Member

ccamel commented Sep 29, 2024

@coderabbitai Give me the contents of the .coderabbit.yaml configuration file that addresses this issue.

Copy link
Author

coderabbitai bot commented Sep 29, 2024

Tip

For best results, initiate chat on the files or code changes.

@ccamel, based on the previous learnings, here's the contents of the .coderabbit.yaml file that addresses this issue:

path_filters:
  exclude:
    - api/**
    - graphs/**
    - history/**

This configuration will exclude the graphs, and history folders from being reviewed by CodeRabbit, as they contain generated files from Upptime.


🧠 Learnings used
Learnt from: ccamel
PR: axone-protocol/status#72
File: history/axone-documentation-site.yml:4-5
Timestamp: 2024-09-29T15:33:09.747Z
Learning: The `graph`, `history`, and `static/up` folders in the repository contain generated files for Upptime and should be excluded from CodeRabbit code reviews.

@ccamel ccamel added the good first issue Good for newcomers label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: 📆 To do
Development

No branches or pull requests

2 participants