diff --git a/.github/workflows/pr_size.yml b/.github/workflows/pr_size.yml new file mode 100644 index 0000000..b4a4ef7 --- /dev/null +++ b/.github/workflows/pr_size.yml @@ -0,0 +1,21 @@ +name: Pull Request Labeling + +on: [pull_request] + +jobs: + size: + runs-on: ubuntu-latest + name: Label the PR size + steps: + - uses: "pascalgn/size-label-action@v0.4.3" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + sizes: > + { + "0": "XS", + "20": "S", + "50": "M", + "250": "L", + "800": "XL" + }