ci: fix race condition on closed branches check

This commit is contained in:
Adeeb Shihadeh
2026-08-03 14:49:27 -07:00
parent 04847f3805
commit afa2b390ae
+1 -1
View File
@@ -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