From 211caa4dfa0a5b21f6255f8ef6d7d4614243d888 Mon Sep 17 00:00:00 2001 From: "Hedgerow.dev" Date: Sun, 15 Nov 2026 13:37:50 +0000 Subject: [PATCH] Cancel superseded CI runs and cap the test job A newer push or pull request on the same ref replaces the run in progress, and the test job stops after 10 minutes instead of the 360-minute default. Co-authored-by: Hedgerow.dev --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ffdeb2..24d5243 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,10 +1,14 @@ name: test on: [push, pull_request] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true permissions: contents: read jobs: test: runs-on: ubuntu-latest + timeout-minutes: 10 steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5