Update ruff.yml
This commit is contained in:
10
.github/workflows/ruff.yml
vendored
10
.github/workflows/ruff.yml
vendored
@@ -1,15 +1,11 @@
|
|||||||
name: Ruff
|
name: Ruff
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
|
||||||
# - main
|
|
||||||
# - dev
|
|
||||||
# - dev-refactor # 例如:匹配所有以 feature/ 开头的分支
|
|
||||||
# # 添加你希望触发此 workflow 的其他分支
|
|
||||||
workflow_dispatch: # 允许手动触发工作流
|
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
workflow_dispatch: # 允许手动触发工作流
|
||||||
|
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|||||||
Reference in New Issue
Block a user