Skip to content

🐛 Bug: Sync-contributors.yml workflow writes to wrong file causing silent failure #2376

@waygeance

Description

@waygeance

Describe the bug

The sync-contributors.yml GitHub Actions workflow has been silently failing for 5+ months due to a file path mismatch. The workflow fetches contributor data correctly but writes it to data/roadmap.json instead of data/community-users.json. It then attempts to commit the unchanged community-users.json file, resulting in no actual updates.

Steps To Reproduce

  1. Go to .github/workflows/sync-contributors.yml
  2. Navigate to line 46
  3. Observe the file path: fs.writeFileSync('data/roadmap.json', ...)
  4. Navigate to line 52: git add data/community-users.json
  5. Notice the mismatch: writes to roadmap.json but adds community-users.json
  6. Check the last update date of data/community-users.json (October 23, 2024)
  7. Run the workflow manually and observe no PR is created

Expected Behavior

The workflow should:

  • Fetch contributor data from GitHub API ✅
  • Write data to data/community-users.json(currently writes to roadmap.json)
  • Commit and PR the updated community-users.json(currently commits unchanged file)
  • Update contributor list weekly ✅

Screenshots

ScreenCast:

Screencast.from.2026-04-02.03-19-23.webm

Device Information [optional]

- OS:Ubuntu(Latest)
- Browser: Brave(Latest)
- version:

Are you working on this issue?

Yes

Do you think this work might require an [Architectural Decision Record (ADR)]? (significant or noteworthy)

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is the initial status for an issue that requires triage.sync-contributors🐛 BugIndicates that the issue is a bug or defect.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions