We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd5672a commit d36aa55Copy full SHA for d36aa55
1 file changed
.github/workflows/ruff.yml
@@ -27,13 +27,15 @@ jobs:
27
uses: astral-sh/ruff-action@v3
28
with:
29
version: "latest"
30
- - run: ruff check --fix
31
- - run: ruff format
32
- - name: Commit changes
+ - name: Run Ruff Fix
+ run: ruff check --fix --unsafe-fixes || true
+ - name: Run Ruff Format
33
+ run: ruff format || true
34
+ - name: 提交更改
35
if: success()
36
run: |
37
git config --local user.email "github-actions[bot]@users.noreply.github.com"
38
git config --local user.name "github-actions[bot]"
39
git add -A
40
git diff --quiet && git diff --staged --quiet || git commit -m "🤖 自动格式化代码 [skip ci]"
- git push
41
+ git push
0 commit comments