fix(ci): Exclude main branch from CI workflow
Some checks are pending
CD - Deploy Infrastructure / ci (push) Waiting to run
CD - Deploy Infrastructure / Deploy on pve1 (push) Blocked by required conditions
CD - Deploy Infrastructure / Deploy on pve2 (push) Blocked by required conditions
CD - Deploy Infrastructure / Deploy on pve3 (push) Blocked by required conditions
CD - Deploy Infrastructure / Validate K3s Cluster (push) Blocked by required conditions
CD - Deploy Infrastructure / Deployment Notification (push) Blocked by required conditions

CI workflow now runs only on feature branches and PRs. On main, only CD workflow runs (which internally calls CI). This prevents duplicate CI runs.
This commit is contained in:
Tellsanguis 2025-11-13 19:52:52 +01:00
parent 1fc96d7a46
commit 801e130679

View file

@ -2,7 +2,9 @@ name: CI - Validation
on:
push:
branches: ['**'] # All branches
branches:
- '**'
- '!main' # Exclude main branch (CD workflow handles it)
pull_request:
jobs: