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

GitHub workflow #212

Merged
merged 2 commits into from
Oct 5, 2024
Merged

GitHub workflow #212

merged 2 commits into from
Oct 5, 2024

Conversation

wraith2009
Copy link
Contributor

@wraith2009 wraith2009 commented Oct 4, 2024


PR Label Based on size

Summary:

  1. Implemented a GitHub Actions workflow that automatically checks the size of a PR based on the number of lines of code changed.
  2. Provides feedback on whether the PR is small, medium, or large based on predefined thresholds.
    Changes:

Created a new workflow YAML file to integrate the size check.
Defined size categories:
Small: Less than X lines changed.
Medium: Between X and Y lines changed.
Large: More than Y lines changed.

Why:
Helps maintain manageable PR sizes for easier code reviews.
Ensures adherence to best practices for PR submission.
Issue Number: Fixes #206

how i tested:
i implemented this in one of the testing repo i have and here is the result .
image

🛠️ Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 🚨 Breaking change
  • 📚 Documentation update

✅ Checklist

To ensure a smooth review process, please check off each item as you complete it:

  • Code Style: My code adheres to the project’s style guidelines.
  • Self-Review: I have reviewed my own code and made improvements.
  • Comments: I’ve added comments to explain complex or non-obvious parts of the code.
  • Documentation: I’ve updated the documentation to reflect my changes.
  • Warnings: My changes introduce no new warnings.
  • Tests: I’ve added tests to verify that my changes work as expected.
  • Passes Locally: All new and existing unit tests pass on my local machine.

We appreciate your contributions! If you have any questions or need further assistance, feel free to reach out.

@cb7chaitanya
Copy link
Collaborator

Good work @wraith2009

@cb7chaitanya cb7chaitanya merged commit 7baa451 into code100x:dev Oct 5, 2024
3 checks passed
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.

[FEAT] Add PR Size Labeler to Categorize Pull Requests by Size
2 participants