From 5079de0fb1227cc6695f983383e29ae9d57bb17c Mon Sep 17 00:00:00 2001 From: millianlmx Date: Sat, 27 Jun 2026 20:13:28 +0000 Subject: [PATCH] fix(ci): checkout PR branch instead of main --- .gitea/workflows/pr-iphone-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pr-iphone-deploy.yml b/.gitea/workflows/pr-iphone-deploy.yml index 1c54f08..344d451 100644 --- a/.gitea/workflows/pr-iphone-deploy.yml +++ b/.gitea/workflows/pr-iphone-deploy.yml @@ -23,7 +23,7 @@ jobs: steps: - name: Checkout run: | - git clone --depth 1 https://x-access-token:${PR_TOKEN}@gitea.1000co.fr/${REPO}.git . + git clone --depth 1 -b ${{ github.head_ref }} https://x-access-token:${PR_TOKEN}@gitea.1000co.fr/${REPO}.git . env: PR_TOKEN: ${{ secrets.PR_API_TOKEN }} REPO: ${{ github.repository }}