budibase/.github/workflows/pr-labeler.yml

26 lines
569 B
YAML

name: PR labeler
on:
pull_request:
types: [opened, synchronize]
jobs:
size-labeler:
runs-on: ubuntu-latest
name: Label the PR size
steps:
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: "xs"
xs_max_size: "10"
s_label: "s"
s_max_size: "100"
m_label: "m"
m_max_size: "500"
l_label: "l"
l_max_size: "1000"
xl_label: "xl"
fail_if_xl: "false"
files_to_ignore: "yarn.lock"