From 9b8c29fdc32051cf683b604c8a8e2147ca07d62f Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 12 Jan 2024 10:15:45 +0100 Subject: [PATCH 1/2] Test whether timeout-minutes work in the composite action --- .github/actions/test/action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 2a8083b..8055050 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -61,3 +61,4 @@ runs: CLIENT_CREDENTIALS_URL: ${{ inputs.client_credentials_url }} HOST: ${{ inputs.rai_host }} CUSTOM_HEADERS: ${{ inputs.custom_headers }} + timeout-minutes: 1 From 303d5faadd79cdfeb3c0cff8ff52a10504413bb9 Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Fri, 12 Jan 2024 10:17:27 +0100 Subject: [PATCH 2/2] Timeout-minutes doesn't work on composite action steps, testing whether it works at the call-site --- .github/actions/test/action.yml | 1 - .github/workflows/CI.yml | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 8055050..2a8083b 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -61,4 +61,3 @@ runs: CLIENT_CREDENTIALS_URL: ${{ inputs.client_credentials_url }} HOST: ${{ inputs.rai_host }} CUSTOM_HEADERS: ${{ inputs.custom_headers }} - timeout-minutes: 1 diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index baaedcd..a6f7d45 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -34,4 +34,5 @@ jobs: with: client_id: ${{ secrets.CLIENT_ID }} client_secret: ${{ secrets.CLIENT_SECRET }} - client_credentials_url: ${{ secrets.CLIENT_CREDENTIALS_URL }} \ No newline at end of file + client_credentials_url: ${{ secrets.CLIENT_CREDENTIALS_URL }} + timeout-minutes: 1