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/**')