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