Spaces:
Runtime error
Runtime error
marimo-github-maintenance-bot[bot]
[github-maintenance] Pin GitHub Actions to SHA hashes (#143)
7d87b36 unverified | name: Check for Empty Cells | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - '**/*.py' | |
| jobs: | |
| check-empty-cells: | |
| name: Check for empty cells in marimo notebooks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: π Cancel Previous Runs | |
| uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 | |
| - name: π Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: π Install uv | |
| uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4 | |
| - name: π Set up Python | |
| uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: 3.12 | |
| - name: π Check for empty cells | |
| run: | | |
| make check_empty | |
| - name: π Report results | |
| if: failure() | |
| run: | | |
| echo "β Empty cells found in marimo notebooks!" | |
| echo "Please remove or add content to empty cells before merging." | |
| echo "Empty cells look like:" | |
| echo "@app.cell" | |
| echo "def _():" | |
| echo " return" |