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