From be0501e8cb5f4534ba06befa62bccf573f21134a Mon Sep 17 00:00:00 2001 From: Kaido Kert Date: Fri, 19 May 2023 16:54:51 -0700 Subject: [PATCH] Switching all workflows to patched checkouts I'm seeing more workflows failing, even silently, with the same submodule checkout problems, so switching all of them. Recent Java Tests are all giving a silent error in the post-build phase. b/282361986 --- .github/workflows/gradle.yaml | 2 +- .github/workflows/label-cherry-pick.yaml | 2 +- .github/workflows/manual-cherry-pick.yaml | 2 +- .github/workflows/nightly_trigger.yaml | 14 +++++++------- .github/workflows/workflow_trigger.yaml | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/gradle.yaml b/.github/workflows/gradle.yaml index 9c01be7f8f51..88ce9fd279a9 100644 --- a/.github/workflows/gradle.yaml +++ b/.github/workflows/gradle.yaml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: kaidokert/checkout@v3.5.999 - name: Set up JDK 11 uses: actions/setup-java@v3 with: diff --git a/.github/workflows/label-cherry-pick.yaml b/.github/workflows/label-cherry-pick.yaml index 7321fb2f3b29..ec196429966e 100644 --- a/.github/workflows/label-cherry-pick.yaml +++ b/.github/workflows/label-cherry-pick.yaml @@ -59,7 +59,7 @@ jobs: MERGE_COMMIT_SHA: ${{ github.event.pull_request.merge_commit_sha }} steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: ref: ${{ matrix.target_branch }} fetch-depth: 0 diff --git a/.github/workflows/manual-cherry-pick.yaml b/.github/workflows/manual-cherry-pick.yaml index f18704e2371a..d4bca2635616 100644 --- a/.github/workflows/manual-cherry-pick.yaml +++ b/.github/workflows/manual-cherry-pick.yaml @@ -46,7 +46,7 @@ jobs: GITHUB_REF: ${{ github.ref }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: ref: ${{ env.RELEASE_BRANCH }} persist-credentials: false diff --git a/.github/workflows/nightly_trigger.yaml b/.github/workflows/nightly_trigger.yaml index 84b3f5d0768a..2cb01b6379de 100644 --- a/.github/workflows/nightly_trigger.yaml +++ b/.github/workflows/nightly_trigger.yaml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: 23.lts.1+ @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: 22.lts.1+ @@ -54,7 +54,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: 21.lts.1+ @@ -73,7 +73,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: 20.lts.1+ @@ -91,7 +91,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: 19.lts.1+ @@ -109,7 +109,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: rc_11 @@ -127,7 +127,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: COBALT_9 diff --git a/.github/workflows/workflow_trigger.yaml b/.github/workflows/workflow_trigger.yaml index 14da07af19af..92225f67321e 100644 --- a/.github/workflows/workflow_trigger.yaml +++ b/.github/workflows/workflow_trigger.yaml @@ -36,7 +36,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: kaidokert/checkout@v3.5.999 with: fetch-depth: 1 ref: ${{ github.event.branch }}