Skip to content

Fix DevIndex Updater Workflow: Stage All Data Files #9139

@tobiu

Description

@tobiu

The DevIndex updater's Cleanup.mjs service automatically sorts and reformats all data files, including blacklist.json, whitelist.json, and visited.json, on every run.

However, the GitHub Action workflow .github/workflows/devindex-updater.yml is hardcoded to only stage users.jsonl, tracker.json, and failed.json.

This causes blacklist.json, whitelist.json, and visited.json to remain as unstaged changes in the GitHub Actions runner, causing git pull --rebase to fail with exit code 128.

Resolution:
Update .github/workflows/devindex-updater.yml to stage ALL resource files in the directory.

Change:

git add apps/devindex/resources/users.jsonl apps/devindex/resources/tracker.json apps/devindex/resources/failed.json

To:

git add apps/devindex/resources/*.json*

Metadata

Metadata

Assignees

Labels

aibugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions