diff --git a/.github/workflows/sync-upstream.yml b/.github/workflows/sync-upstream.yml index e88a8ca6a..d57108ba5 100644 --- a/.github/workflows/sync-upstream.yml +++ b/.github/workflows/sync-upstream.yml @@ -47,6 +47,12 @@ jobs: if: steps.check-upstream-branch.outputs.branch_exists == 'false' run: npm ci + - name: Install dependencies + if: steps.check-upstream-branch.outputs.branch_exists == 'false' + run: | + git config --global user.email "mr-cheffy@users.noreply.github.com" + git config --global user.name "mr-cheffy" + - name: Setup surfer CI if: steps.check-upstream-branch.outputs.branch_exists == 'false' run: | @@ -67,6 +73,10 @@ jobs: npm run sync fi + - name: Run formatter + if: steps.check-upstream-branch.outputs.branch_exists == 'false' + run: npm run pretty + - name: Check if any files changed id: git-check run: |