-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: setup PR labeler GitHub action
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: PR labeler | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
labeler: | ||
runs-on: ubuntu-latest | ||
name: Label the PR size | ||
steps: | ||
- uses: codelytv/pr-size-labeler@v1 | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
xs_label: 'size/xs' | ||
xs_max_size: '10' | ||
s_label: 'size/s' | ||
s_max_size: '20' | ||
m_label: 'size/m' | ||
m_max_size: '50' | ||
l_label: 'size/l' | ||
l_max_size: '100' | ||
xl_label: 'size/xl' | ||
fail_if_xl: 'false' | ||
message_if_xl: > | ||
This PR exceeds the recommended size of 100 lines. | ||
Please ensure that you are NOT addressing multiple issues in one PR. | ||
If the PR is atomic and focuses on a single change, it helps the maintainers. | ||
github_api_url: 'api.github.com' | ||
files_to_ignore: '' |