feat: handle git reset in session hooks #195
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 Binary Size | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| binary-size: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| 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}" |