Skip to content

ci(github-action): update oxsecurity/megalinter action to v8.1.0 #2201

ci(github-action): update oxsecurity/megalinter action to v8.1.0

ci(github-action): update oxsecurity/megalinter action to v8.1.0 #2201

---
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/[email protected]
env:
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}"
with:
sizes: >
{
"0": "XS",
"20": "S",
"50": "M",
"200": "L",
"800": "XL",
"2000": "XXL"
}