From 95a2ca9558b5c17764fc1df1d307d8da333f2619 Mon Sep 17 00:00:00 2001 From: Siddharth Gelera Date: Wed, 24 Sep 2025 17:25:51 +0530 Subject: [PATCH] ci: fallback to `main` --- .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 006a489ed..4dc16f485 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: - name: Lint Check run: npm run lint env: - ESLINT_PLUGIN_DIFF_COMMIT: ${{ github.event.pull_request.base.ref }} + ESLINT_PLUGIN_DIFF_COMMIT: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.ref || 'main' }} # tests - name: Test Package bruno-js