-
-
Notifications
You must be signed in to change notification settings - Fork 1
Config: Configurer workflow pour bypasser CodeRabbit #21
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,27 @@ | ||||||||||
| # CodeRabbit Configuration | ||||||||||
| # Ignore automatic updates from workflows | ||||||||||
|
|
||||||||||
| # Skip review for workflow commits | ||||||||||
| reviews: | ||||||||||
| auto_review: false | ||||||||||
| ignore_patterns: | ||||||||||
| - "**/README.md" # Skip README updates from aggregator | ||||||||||
|
|
||||||||||
| # Don't block automated commits | ||||||||||
| path_filters: | ||||||||||
| excluded: | ||||||||||
| - README.md | ||||||||||
|
|
||||||||||
| # Allow workflow commits to bypass review | ||||||||||
| commit_message_patterns: | ||||||||||
| skip_review: | ||||||||||
| - "Updated AI-Pulse:" | ||||||||||
| - "[skip ci]" | ||||||||||
| - "github-actions[bot]" | ||||||||||
|
|
||||||||||
| # Auto-approve workflow PRs | ||||||||||
| auto_approve: | ||||||||||
| enabled: true | ||||||||||
|
||||||||||
| enabled: true | |
| enabled: true | |
| # Note: CodeRabbit evaluates all of the following conditions with AND logic: | |
| # both the author and the commit message condition must be satisfied. |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -10,6 +10,8 @@ on: | |||
|
|
||||
| permissions: | ||||
| contents: write | ||||
| pull-requests: write | ||||
| issues: write | ||||
|
|
||||
| jobs: | ||||
| aggregate-and-post: | ||||
|
|
@@ -18,6 +20,9 @@ jobs: | |||
| steps: | ||||
| - name: Check out repository | ||||
| uses: actions/checkout@v3 | ||||
| with: | ||||
| token: ${{ secrets.GITHUB_TOKEN }} | ||||
| persist-credentials: true | ||||
|
|
||||
| - name: Set up Node.js | ||||
| uses: actions/setup-node@v4 | ||||
|
|
@@ -43,15 +48,16 @@ jobs: | |||
| - name: Commit and push changes | ||||
| env: | ||||
| GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} | ||||
|
||||
| GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pattern '**/README.md' and the path_filters excluded path 'README.md' (line 13) may be redundant. The globstar pattern will match README.md in any directory including the root, so the simpler 'README.md' pattern in path_filters might be sufficient. Consider whether both configurations are necessary or if they serve different purposes in CodeRabbit's configuration.