From 95b9382b6e5db7f120957a210ee8332a2add55c9 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 10 Nov 2025 15:43:30 -0600 Subject: [PATCH] fix branch --- .gitea/workflows/lint-test-docker.yaml | 2 +- .gitea/workflows/lint-test-helm.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/lint-test-docker.yaml b/.gitea/workflows/lint-test-docker.yaml index e4a93c861..c35da4aef 100644 --- a/.gitea/workflows/lint-test-docker.yaml +++ b/.gitea/workflows/lint-test-docker.yaml @@ -45,7 +45,7 @@ jobs: run: | set -e # Exit immediately if a command exits with a non-zero status. - TARGET_BRANCH="${{ github.base_ref }}" + TARGET_BRANCH="origin/${{ github.base_ref }}" echo ">> Target branch for diff is: $TARGET_BRANCH" CHANGED_FILES=$(git diff --name-only "$TARGET_BRANCH" -- 'hosts/**') diff --git a/.gitea/workflows/lint-test-helm.yaml b/.gitea/workflows/lint-test-helm.yaml index ae6407b5c..bfc4cdcd3 100644 --- a/.gitea/workflows/lint-test-helm.yaml +++ b/.gitea/workflows/lint-test-helm.yaml @@ -46,7 +46,7 @@ jobs: run: | set -e # Exit immediately if a command exits with a non-zero status. - TARGET_BRANCH="${{ github.base_ref }}" + TARGET_BRANCH="origin/${{ github.base_ref }}" echo ">> Target branch for diff is: $TARGET_BRANCH" CHANGED_FILES=$(git diff --name-only "$TARGET_BRANCH" -- 'clusters/**')