From de386245d9007d4848915f7e9b81585ad526cca3 Mon Sep 17 00:00:00 2001 From: Adam Moussa Date: Tue, 8 Sep 2026 12:51:32 -0400 Subject: [PATCH] fix(deploy): compare G3 formatting against the PR merge base Co-authored-by: Cursor --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1dfd2f2..c16996b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -26,6 +26,9 @@ jobs: dotnet-version: "8.0.x" - name: Repository quality gate + env: + BASE_REF: ${{ github.event.pull_request.base.sha || 'origin/dev' }} + HEAD_REF: ${{ github.event.pull_request.head.sha || github.sha }} run: bash scripts/governance-check.sh - name: Build Elastic Beanstalk source bundle