Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/coderabbit.yaml
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
Comment on lines +7 to +8
Copy link

Copilot AI Jan 14, 2026

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.

Copilot uses AI. Check for mistakes.

# 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
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The conditions structure appears to use a list format which typically implies 'OR' logic in most CI configurations. If CodeRabbit requires ALL conditions to be met (AND logic), verify that this configuration will work as intended. Consider adding a comment clarifying whether these conditions use AND or OR logic.

Suggested change
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.

Copilot uses AI. Check for mistakes.
conditions:
- author: "github-actions[bot]"
- commit_message_contains: "Updated AI-Pulse:"
14 changes: 10 additions & 4 deletions .github/workflows/update-ai-pulse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ on:

permissions:
contents: write
pull-requests: write
issues: write

jobs:
aggregate-and-post:
Expand All @@ -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
Expand All @@ -43,15 +48,16 @@ jobs:
- name: Commit and push changes
env:
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
Copy link

Copilot AI Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GIT_AUTHOR_EMAIL secret is now unused since the workflow switched to using the hardcoded github-actions[bot] email. This environment variable can be removed from the workflow.

Suggested change
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}

Copilot uses AI. Check for mistakes.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'ThePhoenixAgency'
git config --global user.email "${GIT_AUTHOR_EMAIL}"
git config --global user.name 'github-actions[bot]'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add .

if ! git diff --cached --exit-code; then
UTC_DATE=$(date -u +'%a %b %d %H:%M:%S UTC %Y')
git commit -m "Updated AI-Pulse: $UTC_DATE"
git push
git commit -m "Updated AI-Pulse: $UTC_DATE [skip ci]"
git push origin main
else
echo "No changes to commit"
fi