You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: exclude activity-state.json from sync-leaderboard workflow commits #532
PR #398 introduced data/activity-state.json, which is written by scripts/analyze-inactivity.js.
The analyze-inactivity.yml workflow correctly commits only inactive-users.json. However, the sync-leaderboard.yml workflow stages changes using git add . and only resets users.json and inactive-users.json, meaning activity-state.json will also be staged and committed on every leaderboard sync and cause conflicts when both workflows run together.
Affected File
.github/workflows/sync-leaderboard.yml
Expected Behaviour
activity-state.json should only be committed by analyze-inactivity.yml. The leaderboard sync workflow should ignore it.
Proposed Fix
After the existing git reset commands in sync-leaderboard.yml, add:
Hello, @codepvg@jagdish-15,
I’d like to work on this issue under gssoc'26.
I’ve reviewed the workflow behavior and the proposed fix, and I can update sync-leaderboard.yml so that activity-state.json is excluded from leaderboard sync commits while preserving the existing workflow behavior.
Could you please assign this issue to me? Thank you!
Activity
Akshu121796 commentedon Aug 8, 2026
Hello, @codepvg @jagdish-15,
I’d like to work on this issue under gssoc'26.
I’ve reviewed the workflow behavior and the proposed fix, and I can update sync-leaderboard.yml so that activity-state.json is excluded from leaderboard sync commits while preserving the existing workflow behavior.
Could you please assign this issue to me? Thank you!
Akshu121796 commentedon Aug 10, 2026
Done solving, Have a look!!