Detect hook-config drift for every agent, not just Claude Code #3864
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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| 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}" |