From 25bce9f6b9b8dfa138044c45adc33c9c32bf5fba Mon Sep 17 00:00:00 2001 From: Delan Azabani Date: Tue, 17 Sep 2024 22:45:09 +0800 Subject: [PATCH] CI: fix self-hosted runner timeout detection (#33471) Signed-off-by: Delan Azabani --- .github/workflows/linux.yml | 2 +- .github/workflows/self-hosted-runner-timeout.yml | 2 +- .github/workflows/windows.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 389356cbf95..a72d42490f3 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -79,7 +79,7 @@ jobs: uses: ./.github/workflows/self-hosted-runner-timeout.yml secrets: inherit with: - selected-runner-label: ${{ needs.runner-select.outputs.selected-runner-label }} + unique-id: ${{ needs.runner-select.outputs.unique-id }} is-self-hosted: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} build: diff --git a/.github/workflows/self-hosted-runner-timeout.yml b/.github/workflows/self-hosted-runner-timeout.yml index 24c4009ab2d..6c9785f122f 100644 --- a/.github/workflows/self-hosted-runner-timeout.yml +++ b/.github/workflows/self-hosted-runner-timeout.yml @@ -2,7 +2,7 @@ name: Detect Self-hosted Runner Timeout on: workflow_call: inputs: - selected-runner-label: + unique-id: required: true type: string is-self-hosted: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index d4b6698eb56..67d62adaa16 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -60,7 +60,7 @@ jobs: uses: ./.github/workflows/self-hosted-runner-timeout.yml secrets: inherit with: - selected-runner-label: ${{ needs.runner-select.outputs.selected-runner-label }} + unique-id: ${{ needs.runner-select.outputs.unique-id }} is-self-hosted: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} build: