Просмотр исходного кода

chore(ci): Limit CI push trigger to main and feature

Restrict the CI workflow's push trigger to the main and feature branches
while preserving the existing paths-ignore filters.

This avoids unnecessary push-triggered CI runs on topic branches without
changing pull request workflow behavior.

Fixes #19324
Martin Hauser 1 неделя назад
Родитель
Сommit
cd56523cc5
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      .github/workflows/ci.yml

+ 3 - 0
.github/workflows/ci.yml

@@ -3,6 +3,9 @@ name: CI
 
 on:
   push:
+    branches:
+      - main
+      - feature
     paths-ignore:
       - '.github/ISSUE_TEMPLATE/**'
       - '.github/PULL_REQUEST_TEMPLATE.md'