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