Skip to content

Commit

Permalink
CI: in checkout steps set fetch-depth to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Sep 9, 2024
1 parent 035b6b3 commit f5c62af
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
image_name: ${{ steps.variables.outputs.image_name }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Set outputs
id: variables
Expand All @@ -41,6 +43,8 @@ jobs:
pull-requests: read
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Setup Kosli CLI
uses: kosli-dev/setup-cli-action@v2
Expand All @@ -63,6 +67,8 @@ jobs:
kosli_fingerprint: ${{ steps.variables.outputs.kosli_fingerprint }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Build image
run:
Expand Down Expand Up @@ -101,6 +107,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Setup Kosli CLI
uses: kosli-dev/setup-cli-action@v2
Expand Down Expand Up @@ -138,6 +146,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Setup Kosli CLI
uses: kosli-dev/setup-cli-action@v2
Expand Down Expand Up @@ -272,6 +282,8 @@ jobs:
IMAGE_NAME: ${{ needs.kosli-trail.outputs.image_name }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: docker/login-action@v3
with:
Expand Down

0 comments on commit f5c62af

Please sign in to comment.