Skip to content

Commit a972170

Browse files
committed
ci: modify CI workflow to trigger tests only on push events
Adjust the GitHub Actions workflow configuration to restrict test execution to push events only, removing the previous pull request trigger for main and master branches. 将 GitHub Actions 工作流配置调整为仅在 push 事件时执行测试,移除之前针对 main 和 master 分支的 pull request 触发器。 Change-Id: If7e83a49adb9b6fcfe7611cd9fa36efb8f23f4ad Signed-off-by: OhYee <[email protected]>
1 parent 53a68d4 commit a972170

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: CI
22

33
on:
4+
# 仅在 push 时触发测试
45
push:
5-
pull_request:
6-
branches: [main, master]
76

87
jobs:
98
build:

0 commit comments

Comments
 (0)