-
-
Notifications
You must be signed in to change notification settings - Fork 449
🐛 Bug: Sync-contributors.yml workflow writes to wrong file causing silent failure #2376
Copy link
Copy link
Open
Labels
Status: TriageThis is the initial status for an issue that requires triage.This is the initial status for an issue that requires triage.sync-contributors🐛 BugIndicates that the issue is a bug or defect.Indicates that the issue is a bug or defect.
Description
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
- Go to
.github/workflows/sync-contributors.yml - Navigate to line 46
- Observe the file path:
fs.writeFileSync('data/roadmap.json', ...) - Navigate to line 52:
git add data/community-users.json - Notice the mismatch: writes to
roadmap.jsonbut addscommunity-users.json - Check the last update date of
data/community-users.json(October 23, 2024) - 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 toroadmap.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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Status: TriageThis is the initial status for an issue that requires triage.This is the initial status for an issue that requires triage.sync-contributors🐛 BugIndicates that the issue is a bug or defect.Indicates that the issue is a bug or defect.