Update ruff.yml
This commit is contained in:
8
.github/workflows/ruff.yml
vendored
8
.github/workflows/ruff.yml
vendored
@@ -27,9 +27,11 @@ jobs:
|
||||
uses: astral-sh/ruff-action@v3
|
||||
with:
|
||||
version: "latest"
|
||||
- run: ruff check --fix
|
||||
- run: ruff format
|
||||
- name: Commit changes
|
||||
- name: Run Ruff Fix
|
||||
run: ruff check --fix --unsafe-fixes || true
|
||||
- name: Run Ruff Format
|
||||
run: ruff format || true
|
||||
- name: 提交更改
|
||||
if: success()
|
||||
run: |
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
Reference in New Issue
Block a user