Skip to content

rluque8/pr-sizer

Repository files navigation

PR SIZER

Github action in charge of labeling with t-shirt sizing the PRs based on the number of lines modified (added, updated and deleted)

Description

This Gitnhub action uses the library actions-toolkit in order to access to the GitHub methods such as the PR size or the labels of the repo.

Usage

Inside the directory .github/workflows, create a file named pr-sizer.yml with the following content:

name: 'PR Sizer'
on: pull_request
jobs:
  pr-labeler:
    runs-on: ubuntu-latest
    name: Size PRs with labels
    steps:
      - uses: actions/checkout@v1
        with:
          size_s: '40'
          size_m: '200'
          size_l: '600'
          size_xl: '1000'
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

License

ISC

About

Github action in charge of labeling with t-shirt sizing the PRs based on the number of lines modified

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors