Bläddra i källkod

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 vecka sedan
förälder
incheckning
cd56523cc5
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      .github/workflows/ci.yml

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

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