From 64b1ec9b3d2752c63a0187f1560054a6db83568e Mon Sep 17 00:00:00 2001 From: Taddeus Date: Mon, 3 Nov 2025 14:47:25 +0200 Subject: [PATCH] Updates CI workflow to support main branch Expands CI triggers and release conditions to include both main and master branches. Ensures workflows run consistently as the repository transitions or supports main as the default branch. Relates to MLO-469 --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 312d1d88..c2bfc5b3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,10 +2,10 @@ name: CI on: push: - branches: [master] + branches: [main, master] tags: ["v*"] pull_request: - branches: [master] + branches: [main, master] schedule: - cron: 0 4 * * * @@ -42,7 +42,7 @@ jobs: name: Release processor image runs-on: ubuntu-latest needs: test - if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master') + if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') steps: - name: Checkout commit uses: actions/checkout@v4