From 2fbeed700b46b27ad2f3c235855dfdeba725ff30 Mon Sep 17 00:00:00 2001 From: Techmore Date: Tue, 27 Oct 2026 11:56:16 -0400 Subject: [PATCH] ci: add job timeouts and concurrency limits Add timeout-minutes (10) to the ruff and pytest jobs. All techmore repos share one concurrent-job limit; a job without timeout-minutes can hold a runner slot for 6 hours if it hangs. Timeouts are ~3x recent run durations, minimum 10 minutes. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2a38a75..1df8ff9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: lint: name: ruff runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 @@ -29,6 +30,7 @@ jobs: test: name: pytest (py${{ matrix.python-version }}) runs-on: ubuntu-latest + timeout-minutes: 10 strategy: fail-fast: false matrix: