Skip to content

Commit 617a647

Browse files
committed
Use staging to perform formatting check
Signed-off-by: Andrey Sobolev <[email protected]>
1 parent 5212260 commit 617a647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ jobs:
156156
[ -z "$(git diff --name-only '*.js' '*.ts' '*.svelte' '*.json' '*.yaml' | cat)" ]
157157
echo '================================================================'
158158
- name: Formatting...
159-
run: node common/scripts/install-run-rush.js fast-format --branch ${{ github.base_ref }}
159+
run: node common/scripts/install-run-rush.js fast-format --branch ${{ github.base_ref || 'staging' }}
160160
- name: Check files formatting
161161
run: |
162162
echo '================================================================'

0 commit comments

Comments
 (0)