agones.dev/agones@v1.53.0/.github/workflows/labeler.yml (about) 1 --- 2 # Copyright 2023 Google LLC 3 # 4 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # you may not use this file except in compliance with the License. 6 # You may obtain a copy of the License at 7 # 8 # http://www.apache.org/licenses/LICENSE-2.0 9 # 10 # Unless required by applicable law or agreed to in writing, software 11 # distributed under the License is distributed on an "AS IS" BASIS, 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 # See the License for the specific language governing permissions and 14 # limitations under the License. 15 # 16 17 name: labeler 18 on: 19 - pull_request_target 20 jobs: 21 labeler: 22 runs-on: ubuntu-latest 23 permissions: 24 contents: read 25 pull-requests: write 26 name: Label the PR size 27 steps: 28 - uses: codelytv/pr-size-labeler@v1 29 with: 30 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 31 xs_max_size: '10' 32 s_max_size: '100' 33 m_max_size: '500' 34 l_max_size: '1000' 35 fail_if_xl: 'false' 36 message_if_xl: > 37 'This PR exceeds the recommended size of 1000 lines. 38 Please make sure you are NOT addressing multiple issues with one PR. 39 Note this PR might be rejected due to its size.’