mirror of https://github.com/Mai-with-u/MaiBot.git
fix(Actions): 更新Ruff Action中检查和修复的子任务名称
parent
403f718306
commit
44a00d5f18
|
|
@ -27,8 +27,10 @@ jobs:
|
||||||
uses: astral-sh/ruff-action@v3
|
uses: astral-sh/ruff-action@v3
|
||||||
with:
|
with:
|
||||||
version: "latest"
|
version: "latest"
|
||||||
- run: ruff check --fix
|
- name: Run Ruff Check
|
||||||
- run: ruff format
|
run: ruff check --fix
|
||||||
|
- name: Run Ruff Format
|
||||||
|
run: ruff format
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
if: success()
|
if: success()
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -36,4 +38,4 @@ jobs:
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git add -A
|
git add -A
|
||||||
git diff --quiet && git diff --staged --quiet || git commit -m "🤖 自动格式化代码 [skip ci]"
|
git diff --quiet && git diff --staged --quiet || git commit -m "🤖 自动格式化代码 [skip ci]"
|
||||||
git push
|
git push
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue