Review profiles with master adjudication #1758
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 Binary Size | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| binary-size: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Check for oversized binary files | |
| env: | |
| BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
| MAX_BINARY_SIZE_BYTES: "1048576" | |
| run: bash scripts/check-pr-binaries.sh "${BASE_SHA}" "${HEAD_SHA}" |