Skip to content

Commit 50a6611

Browse files
committed
fix: 更新 Pylint 工作流触发条件,确保仅在特定分支和文件变更时触发
1 parent 0b21947 commit 50a6611

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/pylint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Pylint
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: [ "master", "dev"]
6+
paths:
7+
- '**.py'
8+
- '.github/workflows/pylint.yml'
49

510
permissions:
611
contents: read

0 commit comments

Comments
 (0)