Skip to content

Fix DevIndex Updater Workflow Unstaged Changes Error (failed.json) #9129

@tobiu

Description

@tobiu

The DevIndex Updater workflow fails during git pull --rebase with "You have unstaged changes".
Although the workflow successfully commits users.jsonl and tracker.json, the updater script now also modifies failed.json (the Penalty Box), which is left unstaged in the working directory.

Git refuses to run a rebase with a dirty working directory.

To fix this:

  1. Update .github/workflows/devindex-updater.yml.
  2. Update the git status check and git add command to explicitly include apps/devindex/resources/failed.json.
  3. This ensures the working directory is clean before the rebase attempts to run.

Metadata

Metadata

Assignees

Labels

aibugSomething isn't workingbuildBuild system, scripts, and configuration

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions