From 8f2879105770ed08e1721c847581e6ef5f5ee2dc Mon Sep 17 00:00:00 2001 From: DamienGilliard Date: Mon, 16 Sep 2024 12:34:53 +0200 Subject: [PATCH] FIX: fetch before checkout --- .github/workflows/evaluate_tree_packing.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/evaluate_tree_packing.yml b/.github/workflows/evaluate_tree_packing.yml index 033db39..4b60b99 100644 --- a/.github/workflows/evaluate_tree_packing.yml +++ b/.github/workflows/evaluate_tree_packing.yml @@ -69,7 +69,7 @@ jobs: # For regular pushes, use the current branch (GITHUB_REF) $branch_name = $env:GITHUB_REF -replace 'refs/heads/', '' } - + git fetch git checkout $branch_name git pull origin $branch_name --allow-unrelated-histories git add README.md