Skip to content

entire status: report whether the current clone points at a mirror #3699

entire status: report whether the current clone points at a mirror

entire status: report whether the current clone points at a mirror #3699

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}"