Skip to content

Conversation

@LavanyaK235
Copy link
Contributor

@LavanyaK235 LavanyaK235 commented Dec 22, 2025

Adding the points allocated to users in a PR comment

Here's what the comment looks like on a future PR -

image image

Copilot AI review requested due to automatic review settings December 22, 2025 22:29
@LavanyaK235 LavanyaK235 requested a review from a team as a code owner December 22, 2025 22:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new contributor points tracking system that automatically monitors PR-related activities and calculates points for contributors based on their review and contribution activities. The system posts and updates a single tracking comment on each PR showing real-time point allocations.

Key changes:

  • New automated points tracking script that monitors all PR events (reviews, comments, merges, labels)
  • Configuration file defining point values for various contribution activities (reviews, approvals, bug fixes, documentation, etc.)
  • Updated GitHub Actions workflow to trigger on multiple PR and issue events

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 18 comments.

File Description
scripts/track_points.py New Python script implementing the core points calculation logic, GitHub API integration, and PR comment management
scripts/config_points.yml Configuration file defining point values for different contribution types and bonuses (reviews, merges, labels, special contributions)
.github/workflows/points.yml Workflow configuration updated to trigger on comprehensive PR/issue events and execute the tracking script

mengyimicro
mengyimicro previously approved these changes Dec 22, 2025
@LavanyaK235 LavanyaK235 merged commit 91b8ee4 into main Dec 23, 2025
6 checks passed
@LavanyaK235 LavanyaK235 deleted the users/kalavany/pr branch December 23, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants