Skip to content

chore: use fetch-depth: 1 for most ci jobs #8847

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

Merged
merged 1 commit into from
Aug 2, 2023
Merged
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
chore: use fetch-depth: 1 for most ci jobs
  • Loading branch information
coadler committed Aug 2, 2023
commit 7940282bed3097c3b94156fb8f849dd73ab6f7ed
19 changes: 19 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1
# For pull requests it's not necessary to checkout the code
- name: check changed files
uses: dorny/paths-filter@v2
Expand Down Expand Up @@ -109,6 +111,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Node
uses: ./.github/actions/setup-node
Expand Down Expand Up @@ -162,6 +166,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Node
uses: ./.github/actions/setup-node
Expand Down Expand Up @@ -207,6 +213,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Node
uses: ./.github/actions/setup-node
Expand Down Expand Up @@ -256,6 +264,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Go
uses: ./.github/actions/setup-go
Expand Down Expand Up @@ -323,6 +333,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Go
uses: ./.github/actions/setup-go
Expand Down Expand Up @@ -369,6 +381,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Go
uses: ./.github/actions/setup-go
Expand Down Expand Up @@ -488,6 +502,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Node
uses: ./.github/actions/setup-node
Expand Down Expand Up @@ -516,6 +532,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 1

- name: Setup Node
uses: ./.github/actions/setup-node
Expand Down Expand Up @@ -619,6 +637,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
# 0 is required here for version.sh to work.
fetch-depth: 0

- name: Setup Node
Expand Down