Disable push triggers in ruff.yml

Comment out push triggers for main and dev branches.
This commit is contained in:
墨梓柒
2025-11-29 14:54:15 +08:00
committed by GitHub
parent 26639e7ae5
commit 6a8a4176a0

View File

@@ -1,10 +1,10 @@
name: Ruff
on:
push:
branches:
- main
- dev
# push:
# branches:
# - main
# - dev
# - dev-refactor # 例如:匹配所有以 feature/ 开头的分支
# # 添加你希望触发此 workflow 的其他分支
workflow_dispatch: # 允许手动触发工作流