From 6099650db2506ad5e39716cdea5d883aef0a7512 Mon Sep 17 00:00:00 2001 From: Chris Bush Date: Mon, 7 Mar 2022 10:56:42 -0500 Subject: [PATCH 1/3] Upgrade actions/checkout to v3 --- .github/workflows/bluehawk.yml | 2 +- .github/workflows/check-autobuilder.yml | 2 +- .github/workflows/docusaurus-push-to-production.yml | 2 +- .github/workflows/docusaurus-staging.yml | 2 +- .github/workflows/dotnet-core.yml | 2 +- .github/workflows/ios.yml | 2 +- .github/workflows/java_local.yml | 2 +- .github/workflows/java_sync.yml | 2 +- .github/workflows/kotlin.yml | 2 +- .github/workflows/node.js.yml | 2 +- .github/workflows/push-to-artifact-repos.yml | 4 ++-- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/bluehawk.yml b/.github/workflows/bluehawk.yml index 007b606572..456726a93a 100644 --- a/.github/workflows/bluehawk.yml +++ b/.github/workflows/bluehawk.yml @@ -7,7 +7,7 @@ jobs: name: Check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v1 with: node-version: 15.x diff --git a/.github/workflows/check-autobuilder.yml b/.github/workflows/check-autobuilder.yml index dc705d1529..8f11742ec3 100644 --- a/.github/workflows/check-autobuilder.yml +++ b/.github/workflows/check-autobuilder.yml @@ -14,7 +14,7 @@ jobs: node-version: [14.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/docusaurus-push-to-production.yml b/.github/workflows/docusaurus-push-to-production.yml index d26a1dcd1f..e648e3d4e4 100644 --- a/.github/workflows/docusaurus-push-to-production.yml +++ b/.github/workflows/docusaurus-push-to-production.yml @@ -16,7 +16,7 @@ jobs: DOCUSAURUS_URL: "http://realm-io.s3-website-us-east-1.amazonaws.com" DOCUSAURUS_BASE_URL: "docs" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v1 with: node-version: 16.x diff --git a/.github/workflows/docusaurus-staging.yml b/.github/workflows/docusaurus-staging.yml index 58b8b9dfcd..9ec09bc231 100644 --- a/.github/workflows/docusaurus-staging.yml +++ b/.github/workflows/docusaurus-staging.yml @@ -16,7 +16,7 @@ jobs: steps: - run: | echo "DOCUSAURUS_BASE_URL=${DOCUSAURUS_BASE_URL}" - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v1 with: node-version: 16.x diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index a7fa06587d..6e8a93ed35 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -11,7 +11,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index e61ce7844e..121e98ab7e 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - uses: maxim-lobanov/setup-xcode@v1 with: xcode-version: '13.2.1' diff --git a/.github/workflows/java_local.yml b/.github/workflows/java_local.yml index 25093e1026..b757d3f0bf 100644 --- a/.github/workflows/java_local.yml +++ b/.github/workflows/java_local.yml @@ -11,7 +11,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: set up JDK 11 uses: actions/setup-java@v1 with: diff --git a/.github/workflows/java_sync.yml b/.github/workflows/java_sync.yml index 05acccefa7..b54f1b7938 100644 --- a/.github/workflows/java_sync.yml +++ b/.github/workflows/java_sync.yml @@ -11,7 +11,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: set up JDK 11 uses: actions/setup-java@v1 with: diff --git a/.github/workflows/kotlin.yml b/.github/workflows/kotlin.yml index c46917b1ee..c3fb436cdd 100644 --- a/.github/workflows/kotlin.yml +++ b/.github/workflows/kotlin.yml @@ -11,7 +11,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: run jvm commonTests uses: actions/setup-java@v1 with: diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 43eba9bb1d..2bc3f0cb15 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -15,7 +15,7 @@ jobs: node-version: [14.x] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: diff --git a/.github/workflows/push-to-artifact-repos.yml b/.github/workflows/push-to-artifact-repos.yml index 99e1bfeb65..4b68f2b8d1 100644 --- a/.github/workflows/push-to-artifact-repos.yml +++ b/.github/workflows/push-to-artifact-repos.yml @@ -12,7 +12,7 @@ jobs: name: Bluehawk Check Tutorials runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - uses: actions/setup-node@v1 with: node-version: 15.x @@ -21,7 +21,7 @@ jobs: needs: check runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: React Native uses: ./.github/actions/push-to-artifact-repo with: From f28515a8af42393cd80387af9393084af5fc1643 Mon Sep 17 00:00:00 2001 From: Chris Bush Date: Mon, 7 Mar 2022 11:44:49 -0500 Subject: [PATCH 2/3] Explicitly use merge commit of fork PR --- .github/workflows/docusaurus-staging.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/docusaurus-staging.yml b/.github/workflows/docusaurus-staging.yml index 9ec09bc231..bcb68caed8 100644 --- a/.github/workflows/docusaurus-staging.yml +++ b/.github/workflows/docusaurus-staging.yml @@ -17,6 +17,8 @@ jobs: - run: | echo "DOCUSAURUS_BASE_URL=${DOCUSAURUS_BASE_URL}" - uses: actions/checkout@v3 + with: + ref: "refs/pull/${{ github.event.number }}/merge" - uses: actions/setup-node@v1 with: node-version: 16.x From e0ebda532bd33c9781533f8ca32f33710807d404 Mon Sep 17 00:00:00 2001 From: Chris Bush Date: Mon, 7 Mar 2022 11:50:05 -0500 Subject: [PATCH 3/3] Remove hedging log --- .github/workflows/docusaurus-staging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docusaurus-staging.yml b/.github/workflows/docusaurus-staging.yml index bcb68caed8..ed673f0ff0 100644 --- a/.github/workflows/docusaurus-staging.yml +++ b/.github/workflows/docusaurus-staging.yml @@ -34,7 +34,7 @@ jobs: SOURCE_DIR: "docusaurus/build/" DEST_DIR: "$DOCUSAURUS_BASE_URL" - run: | - echo "(Probably) hosted at: ${DOCUSAURUS_URL}/${DOCUSAURUS_BASE_URL}/index.html" + echo "Hosted at: ${DOCUSAURUS_URL}/${DOCUSAURUS_BASE_URL}/index.html" - name: Comment on PR uses: actions/github-script@0.3.0 with: