diff --git a/.gitea/workflows/fix-black.yml b/.gitea/workflows/fix-black.yml deleted file mode 100644 index 4dfd6a584..000000000 --- a/.gitea/workflows/fix-black.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Fix Black + iSort Formatting - -on: - push: - branches: - - fix/black-format-render-adapter - -jobs: - fix-format: - runs-on: host - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - token: ${{ secrets.GITEA_TOKEN }} - - - name: Install and fix formatting - run: | - pip install black isort -q - - # Fix isort issues in the specific files - isort apps/worker/video_processing/render_adapter.py - isort apps/worker/video_processing/__init__.py - isort tests/unit/test_render_adapter.py - - # Also run black to be safe - black tests/unit/test_render_adapter.py - - git config user.name "CI Bot" - git config user.email "ci@xiaoxia.local" - git add -A - if git diff --cached --quiet; then - echo "No changes needed" - else - git commit -m "style: fix isort imports + black formatting" - git push origin fix/black-format-render-adapter - fi