Skip to content

Commit

Permalink
Switching all workflows to patched checkouts (#417)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
kaidokert authored May 20, 2023
1 parent e3d9cf4 commit d1ac373
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label-cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/nightly_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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+
Expand All @@ -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+
Expand All @@ -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+
Expand All @@ -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+
Expand All @@ -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+
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/workflow_trigger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit d1ac373

Please sign in to comment.