Skip to content

Commit 7de2d5a

Browse files
committed
fix: eliminate CI/CD duplication for cherry-pick commits
- CI/CD build now skips cherry-pick commits on maintenance branches - maintenance-fast.yml provides targeted validation for cherry-picks - Eliminates redundant full builds while preserving coverage for direct pushes - Cherry-picks: fast targeted build only (43s) - Direct pushes: full CI/CD validation as needed
1 parent 67cebea commit 7de2d5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
build:
1515
name: Build branch
1616
runs-on: ubuntu-latest
17-
if: ${{ github.repository_owner == 'spring-projects' }}
17+
if: ${{ github.repository_owner == 'spring-projects' && !contains(github.event.head_commit.message, '(cherry picked from commit') }}
1818
services:
1919
ollama:
2020
image: ollama/ollama:latest

0 commit comments

Comments
 (0)