Bug: /tx/pending endpoint lacks maximum limit, memory DoS risk #1962
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: PR Size Labeler | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| size-label: | |
| runs-on: ubuntu-latest | |
| 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: 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 (XL). Consider splitting into smaller, | |
| focused PRs for faster review. Large PRs take longer to review | |
| and have higher risk of issues. | |
| files_to_ignore: '*.md *.txt *.json *.yaml *.yml' |