diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index dcdb188ee90..74bebff2712 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -111,6 +111,7 @@ jobs: runner-timeout: needs: - runner-select + if: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} runs-on: ubuntu-22.04 steps: - name: Checkout @@ -119,7 +120,6 @@ jobs: sparse-checkout: '.github' - name: Runner timeout uses: ./.github/actions/runner-timeout - if: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} with: github_token: '${{ secrets.GITHUB_TOKEN }}' unique-id: '${{ needs.runner-select.outputs.unique-id }}' diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml index aef70406933..9d12acf8c7d 100644 --- a/.github/workflows/mac.yml +++ b/.github/workflows/mac.yml @@ -94,6 +94,7 @@ jobs: runner-timeout: needs: - runner-select + if: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} runs-on: ubuntu-22.04 steps: - name: Checkout @@ -102,7 +103,6 @@ jobs: sparse-checkout: '.github' - name: Runner timeout uses: ./.github/actions/runner-timeout - if: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} with: github_token: '${{ secrets.GITHUB_TOKEN }}' unique-id: '${{ needs.runner-select.outputs.unique-id }}' diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 5a0c2ca6237..b14a7b3be93 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -85,6 +85,7 @@ jobs: runner-timeout: needs: - runner-select + if: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} runs-on: ubuntu-22.04 steps: - name: Checkout @@ -93,7 +94,6 @@ jobs: sparse-checkout: '.github' - name: Runner timeout uses: ./.github/actions/runner-timeout - if: ${{ fromJSON(needs.runner-select.outputs.is-self-hosted) }} with: github_token: '${{ secrets.GITHUB_TOKEN }}' unique-id: '${{ needs.runner-select.outputs.unique-id }}'