ci: twister: Do not run on third-party repositories

This commit updates the twister workflow to only run on the
repositories in the zephyrproject-rtos organisation because this
workflow requires a custom runner type only available within the
zephyrproject-rtos organisation.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
Stephanos Ioannidis 2022-11-04 22:29:14 +09:00
commit 0aded739d3

View file

@ -19,6 +19,7 @@ concurrency:
jobs: jobs:
twister-build-prep: twister-build-prep:
if: github.repository_owner == 'zephyrproject-rtos'
runs-on: zephyr-runner-linux-x64-4xlarge runs-on: zephyr-runner-linux-x64-4xlarge
container: container:
image: ghcr.io/zephyrproject-rtos/ci:v0.24.5 image: ghcr.io/zephyrproject-rtos/ci:v0.24.5