Skip to content

Commit 16be76e

Browse files
author
Vincent Li
committed
update
1 parent be0d18e commit 16be76e

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci_test.yml

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

33
on:
4-
push:
5-
branches: ["main"]
64
pull_request:
75
branches: ["main"]
6+
types: [opened, reopened] # 只在 PR 创建/重新打开时自动跑
7+
workflow_dispatch: # 支持在 Actions 页手动重跑
8+
inputs:
9+
ref:
10+
description: "Branch or tag to run CI on"
11+
required: false
12+
default: "main"
13+
type: string
814

915
jobs:
1016
ci:

0 commit comments

Comments
 (0)