Disable push triggers in ruff.yml

Comment out push triggers for main and dev branches.
pull/1389/head^2
墨梓柒 2025-11-29 14:54:15 +08:00 committed by GitHub
parent 26639e7ae5
commit 6a8a4176a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

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