From 5318b8f3fbc71b01970af84afe8b65950c581e6c Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Mon, 9 Jun 2025 17:02:19 -0500 Subject: [PATCH] change step --- .gitea/workflows/lint-test.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/lint-test.yaml b/.gitea/workflows/lint-test.yaml index d3c2f03b6..988b5401f 100644 --- a/.gitea/workflows/lint-test.yaml +++ b/.gitea/workflows/lint-test.yaml @@ -21,6 +21,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Helm uses: azure/setup-helm@v4 @@ -32,7 +34,7 @@ jobs: run: | set -e # Exit immediately if a command exits with a non-zero status. - TARGET_BRANCH="${{ gitea.head_ref }}/${{ gitea.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/**')