From e7631ce9ccc6bf037e1d73eacd1cadaf7da8249c Mon Sep 17 00:00:00 2001 From: "mr. m" Date: Tue, 6 Jan 2026 12:48:26 +0100 Subject: [PATCH] feat: Make sure upstream sync workflow initializes git before downloading, b=no-bug, c=workflows --- .github/workflows/sync-upstream.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) 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: |