-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Description
Description
Hi there! 👋 We would love the ability to customize the size labels that get applied. In our use case, it is to match previously existing capitalized labels (e.g. size/XS) and associated workflows with those.
Proposal
Add new configuration options with defaults matching the existing label names:
inputs:
# ...
xs_label:
description: 'Label for xs PR'
required: false
default: 'size/xs'
s_label:
description: 'Label for s PR'
required: false
default: 'size/s'
m_label:
description: 'Label for m PR'
required: false
default: 'size/m'
l_label:
description: 'Label for l PR'
required: false
default: 'size/l'
# ...
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.GITHUB_TOKEN }}
- ${{ inputs.xs_label }}
- ${{ inputs.xs_max_size }}
- ${{ inputs.s_label }}
- ${{ inputs.s_max_size }}
- ${{ inputs.m_label }}
- ${{ inputs.m_max_size }}
- ${{ inputs.l_label }}
- ${{ inputs.l_max_size }}
- ${{ inputs.fail_if_xl }}
- ${{ inputs.message_if_xl }}
- ${{ inputs.github_api_url }}And adjusting hardcoded size/ references in the code.
JavierCane and ahopkinsJavierCane and ahopkins
Metadata
Metadata
Assignees
Labels
No labels