From af05a1725c6921023b2fcf38f9f059ead23d35d7 Mon Sep 17 00:00:00 2001 From: Simon Alibert <75076266+aliberts@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:43:12 +0100 Subject: [PATCH] Fix pr_style_bot (#786) --- .github/workflows/pr_style_bot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr_style_bot.yml b/.github/workflows/pr_style_bot.yml index f62f10c8c..2c7d58f3b 100644 --- a/.github/workflows/pr_style_bot.yml +++ b/.github/workflows/pr_style_bot.yml @@ -42,6 +42,7 @@ jobs: HEADREF: ${{ steps.pr_info.outputs.headRef }} with: persist-credentials: true + lfs: true # Instead of checking out the base repo, use the contributor's repo name repository: ${{ env.HEADREPOFULLNAME }} ref: ${{ env.HEADREF }} @@ -97,6 +98,7 @@ jobs: # If there are changes after running style/quality, commit them if [ -n "$(git status --porcelain)" ]; then + git lfs install git add . git commit -m "Apply style fixes" # Push to the original contributor's forked branch