From 2efd3c3424216c69bca17784513f070faf3cf7b7 Mon Sep 17 00:00:00 2001 From: Yi Chen Date: Fri, 2 Aug 2024 11:34:06 +0800 Subject: [PATCH] Fix CI: environment variable BRANCH is missed (#2111) Signed-off-by: Yi Chen (cherry picked from commit e2693f19c5f06b8e1c4a100a605d1c80a987e140) --- .github/workflows/integration.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 2d927f9ca..9380dfb2d 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -130,6 +130,8 @@ jobs: - name: Run chart-testing (lint) if: steps.list-changed.outputs.changed == 'true' + env: + BRANCH: ${{ steps.get_branch.outputs.BRANCH }} run: ct lint --check-version-increment=false --target-branch $BRANCH - name: Detect CRDs drift between chart and manifest