从简化逻辑、降低复杂度、保留核心功能的角度对main文件做轻量优化,对代码补充详细的注释 #298
Workflow file for this run
This file contains hidden or 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
| name: labeler | |
| on: [pull_request] | |
| jobs: | |
| labeler: | |
| permissions: | |
| pull-requests: write | |
| contents: read | |
| issues: write | |
| runs-on: ubuntu-latest | |
| name: Label the PR size | |
| steps: | |
| - uses: codelytv/pr-size-labeler@v1 | |
| with: | |
| xs_label: 'size/xs' | |
| xs_max_size: '2' | |
| s_label: 'size/s' | |
| s_max_size: '100' | |
| m_label: 'size/m' | |
| m_max_size: '500' | |
| l_label: 'size/l' | |
| l_max_size: '1000' | |
| xl_label: 'size/xl' | |
| fail_if_xl: 'false' | |
| message_if_xl: > | |
| This PR exceeds the recommended size of 1000 lines. | |
| Please make sure you are NOT addressing multiple issues with one PR. | |
| Note this PR might be rejected due to its size. | |
| github_api_url: 'https://api.github.com' | |
| files_to_ignore: '' |