-
Notifications
You must be signed in to change notification settings - Fork 8
41 lines (37 loc) · 1.13 KB
/
meta-labeler.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Labeler
on:
pull_request:
branches:
- main
jobs:
labeler:
name: Labeler
runs-on: ["garb-arc-runner-set"]
steps:
- name: Generate Token
id: generate-token
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
with:
app-id: ${{ secrets.RIVERBOT_APP_ID }}
private-key: ${{ secrets.RIVERBOT_APP_PRIVATE_KEY }}
- name: Labeler
uses: actions/labeler@8558fd74291d67161a8a78ce36a881fa63b766a9 # v5
with:
repo-token: "${{ steps.generate-token.outputs.token }}"
configuration-path: .ci/labeler/labeler.yaml
- name: Label Size
uses: pascalgn/size-label-action@f8edde36b3be04b4f65dcfead05dc8691b374348 # v0.5.5
env:
GITHUB_TOKEN: "${{ steps.generate-token.outputs.token }}"
with:
sizes: >
{
"0": "XS",
"20": "S",
"50": "M",
"200": "L",
"800": "XL",
"2000": "XXL"
}