Sfoglia il codice sorgente

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 2 settimane fa
parent
commit
cd56523cc5
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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'