All Projects → CodelyTV → Pr Size Labeler

CodelyTV / Pr Size Labeler

Licence: mit
🏷 Visualize and optionally limit the size of your Pull Requests

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Pr Size Labeler

release-changelog-builder-action
A GitHub action that builds your release notes / changelog fast, easy and exactly the way you want.
Stars: ✭ 515 (+267.86%)
Mutual labels:  pull-requests, action
Backport
A simple CLI tool that automates the process of backporting commits on a GitHub repo
Stars: ✭ 154 (+10%)
Mutual labels:  automation, pull-requests
Revert
A GitHub Action to automatically revert a commit on a '/revert' comment
Stars: ✭ 89 (-36.43%)
Mutual labels:  pull-requests, action
Mergify Engine
Engine for Mergify
Stars: ✭ 189 (+35%)
Mutual labels:  automation, pull-requests
Github Project Automation Plus
🤖 Automate GitHub Project cards with any webhook event
Stars: ✭ 134 (-4.29%)
Mutual labels:  automation, pull-requests
Pythonic
Graphical Python programming for trading and automation
Stars: ✭ 131 (-6.43%)
Mutual labels:  automation
Release Drafter
Drafts your next release notes as pull requests are merged into master.
Stars: ✭ 2,119 (+1413.57%)
Mutual labels:  action
Figma Action
Export image assets from Figma to GitHub
Stars: ✭ 134 (-4.29%)
Mutual labels:  action
Mysmarthome
⭐️ ALIVE Again! ⭐️ SmartHome - Nothing but smarthome stuff here! Have fun browsing through my home automation setup... ping me on Discord with any questions! 👍
Stars: ✭ 133 (-5%)
Mutual labels:  automation
Generator Jekyll Starter Kit
🚀 Jekyll Progressive Web App Generator.
Stars: ✭ 139 (-0.71%)
Mutual labels:  automation
Illacceptanything
The project where literally anything* goes.
Stars: ✭ 1,756 (+1154.29%)
Mutual labels:  pull-requests
Gatling Sbt Plugin Demo
Showcase of the Gatling Plugin for SBT
Stars: ✭ 137 (-2.14%)
Mutual labels:  automation
Mycontroller V1 Legacy
The Open Source Controller
Stars: ✭ 135 (-3.57%)
Mutual labels:  automation
Learn Devops
🚧 Learn the craft of "DevOps" (Developer Operations) to Deploy your App and Monitor it so it stays "Up"!
Stars: ✭ 139 (-0.71%)
Mutual labels:  automation
Whatsapp Bulk Sender
Send bulk messages right from your WhatsApp Android Client or WhatsApp Web
Stars: ✭ 135 (-3.57%)
Mutual labels:  automation
Gladys
A privacy-first, open-source home assistant
Stars: ✭ 1,874 (+1238.57%)
Mutual labels:  automation
Chronicler
A better way to write your release notes.
Stars: ✭ 138 (-1.43%)
Mutual labels:  automation
Brotab
Control your browser's tabs from the command line
Stars: ✭ 137 (-2.14%)
Mutual labels:  automation
Td4a
Template designer for automation
Stars: ✭ 139 (-0.71%)
Mutual labels:  automation
Auto Youtube Subscription Playlist 2
Script automatically adds videos to playlists from Youtube channels and/or subscriptions (Youtube Collections alternative).
Stars: ✭ 136 (-2.86%)
Mutual labels:  automation

CodelyTV logo

🏷 Pull Request size labeler

codely.tv CodelyTV Courses GitHub Action version

Visualize and optionally limit the size of your Pull Requests

🚀 Usage

Create a file named labeler.yml inside the .github/workflows directory and paste the following configuration.

☝️ Here you can see the default values of all available configuration parameters, however, the only required parameter is the GITHUB_TOKEN one.

name: labeler

on: [pull_request]

jobs:
  labeler:
    runs-on: ubuntu-latest
    name: Label the PR size
    steps:
      - uses: codelytv/[email protected]
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          xs_max_size: '10'
          s_max_size: '100'
          m_max_size: '500'
          l_max_size: '1000'
          fail_if_xl: 'false'
          message_if_xl: >
            'This PR exceeds the recommended size of 1000 lines.
            Please make sure you are NOT addressing multiple issues with one PR.
            Note this PR might be rejected due to its size.’
          github_api_url: 'api.github.com'

🎛️ Available parameters

  • *_max_size (xs_max_size, s_max_size…): Adjust which amount of changes you consider appropriate for each size based on your project context
  • fail_if_xl: Set to 'true' will report GitHub Workflow failure if the PR size is xl allowing to forbid PR merge
  • github_api_url: Override this parameter in order to use with your own GitHub Enterprise Server. Example: 'github.example.com/api/v3'

🤔 Basic concepts or assumptions

  • PR size labeler consider as a change any kind of line addition, deletion, or modification
  • A PR will be labeled as xl if it exceeds the amount of changes defined as l_max_size

⚖️ License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].