Skip to content

FIX: Restore data.json and prevent future deletions - #65

Merged
mrjxtr merged 4 commits into
OSSPhilippines:mainfrom
mrjxtr:main
Jul 18, 2026
Merged

FIX: Restore data.json and prevent future deletions#65
mrjxtr merged 4 commits into
OSSPhilippines:mainfrom
mrjxtr:main

Conversation

@mrjxtr

@mrjxtr mrjxtr commented Jul 18, 2026

Copy link
Copy Markdown
Collaborator

What happened

PR #61 accidentally deleted the root data.json (in commit d287927), which broke the site. The build bot ran on the merge but could not restore it: its change check uses git diff --exit-code, which ignores untracked files, so the rebuilt file was never committed.

Changes

  • Restore data.json, rebuilt from contributors/ (41 contributors)
  • Fix build workflow change detection to stage data.json first, so the bot can recover if the file is ever deleted again
  • Add missing .json extension to contributors/aravind-govindhasamy (was skipped by the build script)
  • Add missing photo URLs for shemdg and srijani006

Summary by CodeRabbit

  • New Features

    • Added a populated contributor directory featuring profile handles, avatar images, and personal quotes.
    • Added a new contributor profile with associated GitHub handle, photo, and quote.
  • Enhancements

    • Added missing avatar images to existing contributor profiles, improving consistency across the contributor directory.
    • Improved change detection so contributor data updates are reliably recognized.

@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 908bdde8-31b2-4ffd-bb24-550db76f1271

📥 Commits

Reviewing files that changed from the base of the PR and between 7410560 and 0d16950.

📒 Files selected for processing (5)
  • .github/workflows/build.yml
  • contributors/aravind-govindhasamy.json
  • contributors/shemdg.json
  • contributors/srijani.json
  • data.json

📝 Walkthrough

Walkthrough

The contributor dataset is populated with contributor metadata and avatar URLs. The build workflow now stages data.json before checking its cached diff, allowing new or deleted files to be detected.

Changes

Contributor data

Layer / File(s) Summary
Contributor dataset records
data.json, contributors/*.json
Adds the aggregate contributor array, introduces a contributor record, and fills missing avatar URLs in existing records.
Dataset change detection
.github/workflows/build.yml
Stages data.json before running git diff --cached to detect file additions, deletions, and updates.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: restoring data.json and updating the workflow to prevent future deletions.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mrjxtr
mrjxtr merged commit 3e8869e into OSSPhilippines:main Jul 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant