[bugfix] Revert i18n files and fix git checkout in browser test workflow

This commit is contained in:
snomiao
2025-09-04 04:54:50 +00:00
parent 33dd25120f
commit bbb6396ddd
31 changed files with 475 additions and 3235 deletions

View File

@@ -11,8 +11,7 @@ on:
jobs:
update-locales:
# Branch detection: Only run for manual dispatch or version-bump-* branches from main repo
# note(sno): && startsWith(github.head_ref, 'sno-fix-playwright') allows this workflow to run in bug-fixing PR
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'version-bump-')) && startsWith(github.head_ref, 'sno-fix-playwright')
if: github.event_name == 'workflow_dispatch' || (github.event.pull_request.head.repo.full_name == github.repository && startsWith(github.head_ref, 'version-bump-'))
runs-on: ubuntu-latest
steps:
- uses: Comfy-Org/ComfyUI_frontend_setup_action@v3

View File

@@ -41,9 +41,7 @@ jobs:
run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
git fetch origin ${{ github.head_ref }}
git checkout -B ${{ github.head_ref }} origin/${{ github.head_ref }}
git add browser_tests
git commit -m "Update test expectations [skip ci]"
git diff --cached --quiet || git commit -m "Update test expectations [skip ci]"
git push origin HEAD:${{ github.head_ref }}
working-directory: ComfyUI_frontend