Repository navigation
Raise a clear error when a non-seekable upload stream exceeds 200 MB #91
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: pre-commit | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "v[0-9]+*" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| env: | |
| ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: "true" | |
| ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION: node16 | |
| ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION: node16 | |
| steps: | |
| - uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | |
| with: | |
| persist-credentials: false | |
| path: "." | |
| - name: Set up Python | |
| uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3 | |
| with: | |
| python-version: '3.10' | |
| - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 |