From 7662b43a07f11ad820a307893af3d27a36300fb9 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Tue, 15 Jun 2021 16:37:46 -0500 Subject: [PATCH] Update casing of 'fromJSON' to 'fromJson' in our workflow files (#19933) --- .github/workflows/link-check-dotcom.yml | 2 +- .github/workflows/link-check-ghae.yml | 2 +- .github/workflows/link-check-ghes.yml | 2 +- .github/workflows/test.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/link-check-dotcom.yml b/.github/workflows/link-check-dotcom.yml index 02fc2873ac0a..d9876054c706 100644 --- a/.github/workflows/link-check-dotcom.yml +++ b/.github/workflows/link-check-dotcom.yml @@ -13,7 +13,7 @@ on: jobs: build: - runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} + runs-on: ${{ fromJson('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} steps: # Each of these ifs needs to be repeated at each step to make sure the required check still runs # Even if if doesn't do anything diff --git a/.github/workflows/link-check-ghae.yml b/.github/workflows/link-check-ghae.yml index 26ba95b9950f..570b8d1ae724 100644 --- a/.github/workflows/link-check-ghae.yml +++ b/.github/workflows/link-check-ghae.yml @@ -13,7 +13,7 @@ on: jobs: build: - runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} + runs-on: ${{ fromJson('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} steps: # Each of these ifs needs to be repeated at each step to make sure the required check still runs # Even if if doesn't do anything diff --git a/.github/workflows/link-check-ghes.yml b/.github/workflows/link-check-ghes.yml index 7b4fb7db41a0..5da0ab247509 100644 --- a/.github/workflows/link-check-ghes.yml +++ b/.github/workflows/link-check-ghes.yml @@ -13,7 +13,7 @@ on: jobs: build: - runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} + runs-on: ${{ fromJson('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} steps: # Each of these ifs needs to be repeated at each step to make sure the required check still runs # Even if if doesn't do anything diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5c8acfc0b4dc..cdd7da8b0a4c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,7 +20,7 @@ jobs: test: # Run on self-hosted if the private repo or ubuntu-latest if the public repo # See pull # 17442 in the private repo for context - runs-on: ${{ fromJSON('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} + runs-on: ${{ fromJson('["ubuntu-latest", "self-hosted"]')[github.repository == 'github/docs-internal'] }} timeout-minutes: 60 strategy: fail-fast: false