Fix pr_style_bot (#786)

This commit is contained in:
Simon Alibert 2025-02-27 16:43:12 +01:00 committed by GitHub
parent 800c4a847f
commit af05a1725c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,7 @@ jobs:
HEADREF: ${{ steps.pr_info.outputs.headRef }} HEADREF: ${{ steps.pr_info.outputs.headRef }}
with: with:
persist-credentials: true persist-credentials: true
lfs: true
# Instead of checking out the base repo, use the contributor's repo name # Instead of checking out the base repo, use the contributor's repo name
repository: ${{ env.HEADREPOFULLNAME }} repository: ${{ env.HEADREPOFULLNAME }}
ref: ${{ env.HEADREF }} ref: ${{ env.HEADREF }}
@ -97,6 +98,7 @@ jobs:
# If there are changes after running style/quality, commit them # If there are changes after running style/quality, commit them
if [ -n "$(git status --porcelain)" ]; then if [ -n "$(git status --porcelain)" ]; then
git lfs install
git add . git add .
git commit -m "Apply style fixes" git commit -m "Apply style fixes"
# Push to the original contributor's forked branch # Push to the original contributor's forked branch