[pre-commit.ci] pre-commit autoupdate #2911
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Meta - Label Size | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: | |
- main | |
jobs: | |
label-size: | |
name: Label Size | |
runs-on: ubuntu-latest | |
steps: | |
- name: Generate Token | |
uses: tibdex/github-app-token@v2 | |
id: generate-token | |
with: | |
app_id: "${{ secrets.BOT_APP_ID }}" | |
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}" | |
- name: Label Size | |
uses: pascalgn/size-label-action@v0.5.0 | |
env: | |
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}" | |
with: | |
sizes: > | |
{ | |
"0": "XS", | |
"20": "S", | |
"50": "M", | |
"200": "L", | |
"800": "XL", | |
"2000": "XXL" | |
} |