File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 45
45
steps :
46
46
- uses : codelytv/pr-size-labeler@v1
47
47
with :
48
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49
48
xs_label : ' size/xs'
50
49
xs_max_size : ' 10'
51
50
s_label : ' size/s'
71
70
72
71
| Name | Required | Default Value | Description |
73
72
|-------------------------|----------|----------------------|---------------------------------------------------------------------------------------------------------------------------|
74
- | `GITHUB_TOKEN` | Yes | Automatically supplied| GitHub token needed to interact with the repository. |
73
+ | `GITHUB_TOKEN` | No | Automatically supplied| GitHub token needed to interact with the repository. |
75
74
| `xs_label` | No | 'size/xs' | Label for very small-sized PRs. |
76
75
| `xs_max_size` | No | '10' | Maximum number of changes allowed for XS-sized PRs. |
77
76
| `s_label` | No | 'size/s' | Label for small-sized PRs. |
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ name: 'Pull Request size labeler'
2
2
description : ' Label a PR based on the amount of changes'
3
3
inputs :
4
4
GITHUB_TOKEN :
5
- description : ' GitHub token'
6
- required : true
5
+ description : ' GitHub token needed to interact with the repository'
6
+ required : false
7
+ default : ${{ github.token }}
7
8
xs_label :
8
9
description : ' Label for xs PR'
9
10
required : false
You can’t perform that action at this time.
0 commit comments