Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Fix `determine-driver-skips` failing on a release branch (#69448)

Nemanja Glumacf2bb215346b8
diff --git a/.github/workflows/drivers.yml b/.github/workflows/drivers.yml
index 21e4d9222cd..de1c9205c5f 100644
--- a/.github/workflows/drivers.yml
+++ b/.github/workflows/drivers.yml
@@ -72,7 +72,7 @@ jobs:
# All decision logic is in mage - it analyzes module dependencies,
# branch context, labels, and file changes to decide what runs.
MAGE_ARGS=(
- --git-ref="${{ github.event.pull_request.base.ref || 'master' }}"
+ --git-ref="${{ github.event.pull_request.base.ref || github.ref_name }}"
--is-master-or-release="${{ github.ref_name == 'master' || startsWith(github.ref_name, 'release-') }}"
--pr-labels="${{ join(github.event.pull_request.labels.*.name, ',') }}"
--skip="${{ inputs.skip }}"