From d2e53b8fd9188d02f2058f1b58f30f6c6ed2b966 Mon Sep 17 00:00:00 2001 From: Jan Faurskov <22591930+jfaurskov@users.noreply.github.com> Date: Mon, 21 Oct 2024 10:06:41 +0200 Subject: [PATCH] remove origin --- .github/workflows/unit-test-arm-templates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test-arm-templates.yml b/.github/workflows/unit-test-arm-templates.yml index 7d31b198..83a4d1f2 100644 --- a/.github/workflows/unit-test-arm-templates.yml +++ b/.github/workflows/unit-test-arm-templates.yml @@ -40,7 +40,7 @@ jobs: id: run_tests shell: pwsh run: | - $changedFiles = git diff --name-only origin/main origin/${{github.event.pull_request.head.ref}} + $changedFiles = git diff --name-only main origin/${{github.event.pull_request.head.ref}} # Initialize a counter for the number of failed tests $NumberOfFailedTests = 0 If ($changedFiles -ne $null) {