From 8510a09ca46188297a534a553b3f7f65a6e879de Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Wed, 12 Nov 2025 11:00:01 +0200 Subject: [PATCH] CI: Only run branch tests on Renovate branches where it's needed Follow-up to https://github.com/typeddjango/django-stubs/pull/2893#discussion_r2517081578 -- prevent unnecessary test runs in Renovate branches. Currently only "lock file maintenace" has automerge enabled, other Renovate branches will use PR tests not branch tests. --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 587a59652..a012fc37a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,8 @@ on: push: branches: - master - - "renovate/**" + # Renovate "automerge" branches -- there is no PR, so branch tests are used instead + - "renovate/lock-file-maintenance" pull_request: workflow_dispatch: