Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add estimate time to review PR command and GH action #86

Merged
merged 10 commits into from
Feb 27, 2024

Conversation

tnevrlka
Copy link
Contributor

@tnevrlka tnevrlka commented Feb 20, 2024

KONFLUX-2222

Recreated #78

Examples:

Copy link
Collaborator

@Dannyb48 Dannyb48 left a comment

Choose a reason for hiding this comment

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

I think we want to make sure we document this properly. Like how to use and enable. And more importantly the logic you implemented and the weighted scores you apply to files, etc.

.github/workflows/estimate-review.yml Outdated Show resolved Hide resolved
@tnevrlka tnevrlka force-pushed the estimate-review-time branch 3 times, most recently from 0eb651f to 0fb6761 Compare February 22, 2024 14:44
@tnevrlka tnevrlka marked this pull request as ready for review February 26, 2024 14:17
Copy link
Member

@psturc psturc left a comment

Choose a reason for hiding this comment

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

just a few comments, otherwise lgtm!

.github/workflows/estimate-review.yml Show resolved Hide resolved
cmd/estimate/reviewTime.go Outdated Show resolved Hide resolved
Add command for estimation of the time it takes to review a pull
request.
Add GitHub Action for running the time needed for PR review estimation
- Allow teams to use their own weights for PR review time estimation.
- Teams can add weights for the file extensions they use
Add optional GitHub authentication via a token to avoid API rate
limiting
- Move labeling logic from GitHub Actions to the command
- Automatically check for and delete outdated labels
- Ability to create new custom labels in the yaml config file
Copy link

sonarcloud bot commented Feb 27, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@tnevrlka tnevrlka requested a review from psturc February 27, 2024 12:39
@tnevrlka tnevrlka merged commit c0eaf79 into main Feb 27, 2024
8 checks passed
Copy link
Collaborator

@Dannyb48 Dannyb48 left a comment

Choose a reason for hiding this comment

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

LGTM

@psturc psturc deleted the estimate-review-time branch February 27, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants