upgrade lxml #18
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: "Max blob size" | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| max-blob-size: | |
| name: "No blobs over 100 KiB introduced" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| # For PRs from forks, actions/checkout checks out a merge commit by default. | |
| ref: ${{ github.event.pull_request.head.sha || github.sha }} | |
| - name: Check for blobs over 100 KiB | |
| env: | |
| GITHUB_PR_BASE_SHA: ${{ github.event.pull_request.base.sha }} | |
| GITHUB_PR_HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
| GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }} | |
| GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} | |
| run: bash .github/scripts/check-max-blob-size.sh |