From 4e52a066850dd69d2d8333ba7204141b107d0564 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Wed, 4 Nov 2026 04:06:14 -0800 Subject: [PATCH] ci: free disk space on linux test runners, skip rtd trigger for dependabot - Free disk space on ubuntu runners before the commit CI test job, which recently failed partway through pytest with "Disk quota exceeded". - Skip the Read the Docs trigger job for dependabot, whose workflow runs can't access the webhook secret. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/commit.yml | 12 ++++++++++++ .github/workflows/rtd.yml | 1 + 2 files changed, 13 insertions(+) diff --git a/.github/workflows/commit.yml b/.github/workflows/commit.yml index 616c0978f..6517b7438 100644 --- a/.github/workflows/commit.yml +++ b/.github/workflows/commit.yml @@ -122,6 +122,18 @@ jobs: shell: bash -l {0} timeout-minutes: 60 steps: + - name: Free disk space (Ubuntu) + if: runner.os == 'Linux' + uses: jlumbroso/free-disk-space@main + with: + preinstalled-runtimes: true + android: true + dotnet: true + haskell: true + large-packages: true + docker-images: true + swap-storage: true + - name: Checkout repo uses: actions/checkout@v7 with: diff --git a/.github/workflows/rtd.yml b/.github/workflows/rtd.yml index 53cb6bc3d..d0c119e22 100644 --- a/.github/workflows/rtd.yml +++ b/.github/workflows/rtd.yml @@ -159,6 +159,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'modflowpy' && + github.actor != 'dependabot[bot]' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch'