2022-03-31 18:22:03 +00:00
|
|
|
---
|
|
|
|
name: "Metadata: Label pull requests"
|
|
|
|
|
|
|
|
on:
|
2022-03-31 18:38:38 +00:00
|
|
|
workflow_call:
|
2022-03-31 18:22:03 +00:00
|
|
|
pull_request_target:
|
|
|
|
types:
|
|
|
|
- opened
|
|
|
|
- edited
|
|
|
|
- closed
|
|
|
|
- reopened
|
|
|
|
- ready_for_review
|
|
|
|
- synchronize
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
label-size:
|
2022-03-31 18:38:38 +00:00
|
|
|
name: Label Size
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Label Size
|
|
|
|
uses: pascalgn/size-label-action@v0.4.3
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: "${{ secrets.BOT_TOKEN }}"
|
|
|
|
with:
|
|
|
|
sizes: >
|
|
|
|
{
|
|
|
|
"0": "XS",
|
|
|
|
"20": "S",
|
|
|
|
"50": "M",
|
|
|
|
"200": "L",
|
|
|
|
"800": "XL",
|
|
|
|
"2000": "XXL"
|
|
|
|
}
|