Merge dev-4 into main #4
14
.github/workflows/pipeline.yml
vendored
14
.github/workflows/pipeline.yml
vendored
@@ -3,8 +3,6 @@ name: CI & CD pipeline
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main, 'develop', 'dev-*', 'feature/**' ]
|
branches: [ main, 'develop', 'dev-*', 'feature/**' ]
|
||||||
pull_request:
|
|
||||||
branches: [ main, develop ]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
action:
|
action:
|
||||||
@@ -68,18 +66,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pytest tests/infra/test_prometheus_config.py -v
|
python -m pytest tests/infra/test_prometheus_config.py -v
|
||||||
|
|
||||||
- name: Check for merge conflicts
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
run: |
|
|
||||||
echo "🔍 Checking for merge conflicts..."
|
|
||||||
git fetch origin main
|
|
||||||
if ! git merge --no-commit --no-ff origin/main; then
|
|
||||||
echo "❌ Merge conflicts detected!"
|
|
||||||
git merge --abort || true
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
git merge --abort || true
|
|
||||||
echo "✅ No merge conflicts detected"
|
|
||||||
|
|
||||||
- name: Upload test results
|
- name: Upload test results
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user