From 3ef3f076b0c8205fdc332b608189428b0aeaba7a Mon Sep 17 00:00:00 2001 From: Refringe Date: Mon, 22 Apr 2024 15:41:44 -0400 Subject: [PATCH] Updates workflows to run properly on pull requests --- .gitea/workflows/run-lint.yaml | 2 +- .gitea/workflows/run-style.yaml | 2 +- .gitea/workflows/run-test.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/run-lint.yaml b/.gitea/workflows/run-lint.yaml index 2891f190..4870b564 100644 --- a/.gitea/workflows/run-lint.yaml +++ b/.gitea/workflows/run-lint.yaml @@ -15,7 +15,7 @@ jobs: - name: Clone run: | rm -rf /workspace/SPT-AKI/Build/server - git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch master /workspace/SPT-AKI/Build/server + git clone https://dev.sp-tarkov.com/${GITHUB_REPOSITORY}.git --branch master /workspace/SPT-AKI/Build/server cd /workspace/SPT-AKI/Build/server git checkout ${GITHUB_SHA} diff --git a/.gitea/workflows/run-style.yaml b/.gitea/workflows/run-style.yaml index 4a5a24ab..cdc20708 100644 --- a/.gitea/workflows/run-style.yaml +++ b/.gitea/workflows/run-style.yaml @@ -15,7 +15,7 @@ jobs: - name: Clone run: | rm -rf /workspace/SPT-AKI/Build/server - git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch master /workspace/SPT-AKI/Build/server + git clone https://dev.sp-tarkov.com/${GITHUB_REPOSITORY}.git --branch master /workspace/SPT-AKI/Build/server cd /workspace/SPT-AKI/Build/server git checkout ${GITHUB_SHA} diff --git a/.gitea/workflows/run-test.yaml b/.gitea/workflows/run-test.yaml index 73a51cf7..e5f9adad 100644 --- a/.gitea/workflows/run-test.yaml +++ b/.gitea/workflows/run-test.yaml @@ -15,7 +15,7 @@ jobs: - name: Clone run: | rm -rf /workspace/SPT-AKI/Build/server - git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git --branch master /workspace/SPT-AKI/Build/server + git clone https://dev.sp-tarkov.com/${GITHUB_REPOSITORY}.git --branch master /workspace/SPT-AKI/Build/server cd /workspace/SPT-AKI/Build/server git checkout ${GITHUB_SHA}