feat: Make sure upstream sync workflow initializes git before downloading, b=no-bug, c=workflows

This commit is contained in:
mr. m
2026-01-06 12:48:26 +01:00
parent 481163a756
commit e7631ce9cc

View File

@@ -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: |