mirror of
https://github.com/zen-browser/desktop.git
synced 2026-02-22 11:26:41 +00:00
feat: Make sure upstream sync workflow initializes git before downloading, b=no-bug, c=workflows
This commit is contained in:
10
.github/workflows/sync-upstream.yml
vendored
10
.github/workflows/sync-upstream.yml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user