Skip to content

bug: Governance workflow updates dates for users even if they have had no repo activity #356

@focuzd

Description

@focuzd

Short Summary

The governance engine incorrectly updates the last_activity date and logs an ACTIVITY_UPDATE event for contributors based on their global GitHub activity, rather than their activity specifically within this repository.

Steps to Reproduce

  1. Identify a contributor in governance/contributors.yaml.
  2. Ensure this contributor performs no actions (commits, comments) in the gitmesh repository for a few days.
  3. Have the contributor perform an action on a different public GitHub repository (updating their global event feed).
  4. Run the governance sync workflow.

Expected Behavior

The last_activity date should only update if the user has performed an action (commit, PR, issue, comment) specifically within the gitmesh repository.

Actual Behavior

The bot detects the new date from the user's global public events, updates the last_activity field in contributors.yaml, and logs an ACTIVITY_UPDATE event in the history, implying the user was active in gitmesh.

Environment

  • OS: Windows 11
  • Browser: Brave

Additional Context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions