Skip to content

Commit ed15cdf

Browse files
authored
coq-timing-diff.yml: allow running on other repos
1 parent 3dd45e7 commit ed15cdf

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/coq-timing-diff.yml

+13-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ on:
66
build_target:
77
description: 'Build target for timing diff'
88
required: false
9-
# default: 'standalone-ocaml lite-generated-files'
9+
default: 'standalone-ocaml lite-generated-files'
10+
type: string
11+
target_repository:
12+
description: 'Target repository to checkout (e.g., username/repo)'
13+
required: false
14+
default: ''
15+
type: string
16+
target_branch:
17+
description: 'Target branch to checkout'
18+
required: false
19+
default: ''
1020
type: string
1121

1222
jobs:
@@ -30,6 +40,8 @@ jobs:
3040
- uses: actions/checkout@v4
3141
with:
3242
submodules: recursive
43+
repository: ${{ github.event.inputs.target_repository || github.repository }}
44+
ref: ${{ github.event.inputs.target_branch || github.ref }}
3345
- name: echo host build params
3446
run: etc/ci/describe-system-config.sh
3547
- name: echo container build params

0 commit comments

Comments
 (0)