Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a 30 mins timeout to checkout step #1927

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/gradle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:

steps:
- uses: kaidokert/[email protected]
timeout-minutes: 30
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/label-cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
steps:
- name: Checkout repository
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
ref: ${{ matrix.target_branch }}
fetch-depth: 0
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
rm /tmp/gn.zip
- name: Checkout
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
fetch-depth: 0
persist-credentials: false
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ jobs:
steps:
- id: checkout
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
fetch-depth: 1
persist-credentials: false
Expand Down Expand Up @@ -144,6 +145,7 @@ jobs:
steps:
- name: Checkout files
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
fetch-depth: 0
persist-credentials: false
Expand Down Expand Up @@ -179,6 +181,7 @@ jobs:
steps:
- name: Checkout files
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
fetch-depth: 2
persist-credentials: false
Expand Down Expand Up @@ -225,6 +228,7 @@ jobs:
steps:
- name: Checkout
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
# Use fetch depth of 0 to get full history for a valid build id.
fetch-depth: 0
Expand Down Expand Up @@ -312,6 +316,7 @@ jobs:
steps:
- name: Checkout
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
fetch-depth: 1
persist-credentials: false
Expand Down Expand Up @@ -341,8 +346,13 @@ jobs:
COBALT_BOOTLOADER: ${{needs.initialize.outputs.bootloader}}
MODULAR_BUILD: ${{ inputs.modular && 1 || 0 }}
steps:
- id: set-timezone
uses: szenius/set-timezone@ce9c440bc3af4f51b28d7ef7e5c47ee8f26c8dcb # v1.2
with:
timezoneLinux: "America/Los_Angeles"
- name: Checkout
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
fetch-depth: 1
persist-credentials: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/manual-cherry-pick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
steps:
- name: Checkout code
uses: kaidokert/[email protected]
timeout-minutes: 30
with:
ref: ${{ env.RELEASE_BRANCH }}
persist-credentials: false
Expand Down
1 change: 1 addition & 0 deletions docker/linux/unittest/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ RUN apt update -qqy \
libxi-dev \
libxrender1 \
procps \
sudo \
unzip \
xauth \
xvfb \
Expand Down
Loading