ci: restrict push trigger to main branch

Replace the wildcard `['**']` in the push trigger with `['main']`. This prevents redundant pipeline runs on non-main branches during push events.
This commit is contained in:
Eric Coissac
2026-06-22 16:57:56 +02:00
parent 4e4cce2879
commit 9f1df96ea7
+1 -1
View File
@@ -2,7 +2,7 @@ name: CI
on: on:
push: push:
branches: ['**'] branches: ['main']
pull_request: pull_request:
jobs: jobs: