From e963b211eb89a4cc9ef0285fe30087b96888b676 Mon Sep 17 00:00:00 2001 From: Lee Chapman Date: Sun, 11 Jan 2026 12:20:59 -0800 Subject: [PATCH] fix: remove event_name check from push-to-gitlab job The push-to-gitlab job was being skipped even on main branch because the condition included github.event_name == 'push', which was too restrictive. Error: Push to GitLab job was skipped on main branch Changes: - Removed github.event_name == 'push' condition from if clause - Job now runs when test succeeds and branch is main, regardless of event type - Allows job to run on workflow_dispatch and other trigger events --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6164536..82bcdc0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest needs: - test - if: always() && needs.test.result == 'success' && github.event_name == 'push' && github.ref == 'refs/heads/main' + if: always() && needs.test.result == 'success' && github.ref == 'refs/heads/main' steps: - name: Checkout code uses: actions/checkout@v5