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
|
||||
|
||||
on:
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
# - dev
|
||||
# - dev-refactor # 例如:匹配所有以 feature/ 开头的分支
|
||||
# # 添加你希望触发此 workflow 的其他分支
|
||||
workflow_dispatch: # 允许手动触发工作流
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch: # 允许手动触发工作流
|
||||
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user