forked from huaweicloud/terraform-provider-huaweicloud
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 927 Bytes
/
pull-request.yml
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
name: Pull Request Labeler
on:
# Triggers the workflow on pull request context
pull_request_target:
types: [ opened, edited, reopened, synchronize ]
paths-ignore:
- 'vendor/**'
# Triggers the workflow on issue or pull request comment
#pull_request_review_comment:
issue_comment:
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
steps:
- uses: fuxingloh/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
config-path: .github/labeler.yml
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
xs_label: 'size/XS'
xs_max_size: '30'
s_label: 'size/S'
s_max_size: '100'
m_label: 'size/M'
m_max_size: '300'
l_label: 'size/L'
l_max_size: '1000'
xl_label: 'size/XL'
fail_if_xl: 'false'