From 054c073a631ebd789b5c8fd7c2eec82ea304481f Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Thu, 13 Feb 2025 01:28:07 +0700 Subject: [PATCH] Use default for fast-format check Signed-off-by: Andrey Sobolev --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9f27674dd..0ce40f73f5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -156,7 +156,7 @@ jobs: [ -z "$(git diff --name-only '*.js' '*.ts' '*.svelte' '*.json' '*.yaml' | cat)" ] echo '================================================================' - name: Formatting... - run: node common/scripts/install-run-rush.js fast-format --branch ${{ github.base_ref }} + run: node common/scripts/install-run-rush.js fast-format --branch ${{ github.base_ref || 'develop' }} - name: Check files formatting run: | echo '================================================================'