ci(workflows): 分离Ruff的push和pull_request触发条件
将Ruff的触发条件从同时监听push和pull_request改为分别监听,以优化CI流程并减少不必要的构建
This commit is contained in:
2
.github/workflows/ruff.yml
vendored
2
.github/workflows/ruff.yml
vendored
@@ -1,5 +1,5 @@
|
||||
name: Ruff
|
||||
on: [ push, pull_request ]
|
||||
on: [ push ]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in New Issue
Block a user