Skip to content

Commit 24b3a8c

Browse files
committed
ci: twister: Make Zephyr repo remote configurable
This commit updates the Twister workflow such that the Zephyr repository used for testing is configurable. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 38a72f0 commit 24b3a8c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/twister.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ on:
2929
- macos-aarch64
3030
- windows-x86_64
3131
default: linux-x86_64
32+
zephyr-remote:
33+
description: 'Zephyr Remote'
34+
required: true
35+
default: 'https://github.com/zephyrproject-rtos/zephyr.git'
3236
zephyr-ref:
3337
description: 'Zephyr Ref (branch, tag, SHA ...)'
3438
required: true
@@ -342,7 +346,7 @@ jobs:
342346
343347
# Check out specified Zephyr ref
344348
pushd zephyr
345-
git fetch origin ${{ github.event.inputs.zephyr-ref }}
349+
git fetch ${{ github.event.inputs.zephyr-remote }} ${{ github.event.inputs.zephyr-ref }}
346350
git checkout FETCH_HEAD
347351
popd
348352

0 commit comments

Comments
 (0)