From 3a6ad616ea492ca9b21b65a673254235ba4cc6f4 Mon Sep 17 00:00:00 2001 From: Bojan Rosko Date: Thu, 21 Nov 2024 12:20:39 +0000 Subject: [PATCH] default timeout --- .github/workflows/build-device.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-device.yml b/.github/workflows/build-device.yml index c2e5710b..335dd2c0 100644 --- a/.github/workflows/build-device.yml +++ b/.github/workflows/build-device.yml @@ -25,8 +25,9 @@ env: jobs: build: - # Due to parsing bug, fromJSON is used to convert string to number - timeout-minutes: ${{ fromJSON(inputs.timeout) }} + # Due to parsing bug, fromJSON is used to convert string to number. + # In pull_request or push events, the input context is not available, stating the default again here. + timeout-minutes: ${{ fromJSON(inputs.timeout || '15') }} strategy: fail-fast: false matrix: