From afa2b390ae654d61f270f80c2c642f596af94010 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 3 Aug 2026 14:49:27 -0700 Subject: [PATCH] ci: fix race condition on closed branches check --- .github/workflows/repo-maintenance.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/repo-maintenance.yaml b/.github/workflows/repo-maintenance.yaml index e4ca9b2129..ef4a2795c2 100644 --- a/.github/workflows/repo-maintenance.yaml +++ b/.github/workflows/repo-maintenance.yaml @@ -80,7 +80,7 @@ jobs: labels: bot cleanup_closed_branches: - if: github.repository == 'commaai/openpilot' + if: github.repository == 'commaai/openpilot' && github.event_name == 'pull_request' runs-on: ubuntu-latest permissions: contents: write