fix: followup cleanup for merged community PRs #246
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
| # Copyright (c) Microsoft Corporation. Licensed under the MIT License. | |
| name: PR Size Label | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, reopened] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| size-label: | |
| runs-on: ubuntu-latest | |
| # SECURITY: pull_request_target — uses pr-size-labeler which only reads PR | |
| # metadata via API. No checkout of PR head code. Permissions minimal. | |
| steps: | |
| - uses: codelytv/pr-size-labeler@4ec67706cd878fbc1c8db0a5dcd28b6bb412e85a # v1.10.3 | |
| with: | |
| GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
| xs_label: "size/XS" | |
| xs_max_size: 10 | |
| s_label: "size/S" | |
| s_max_size: 50 | |
| m_label: "size/M" | |
| m_max_size: 200 | |
| l_label: "size/L" | |
| l_max_size: 500 | |
| xl_label: "size/XL" | |
| fail_if_xl: false | |
| message_if_xl: > | |
| This PR is quite large. Consider breaking it into smaller PRs for easier review. |