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

CI: in checkout steps set fetch-depth to 1 #26

Merged
merged 1 commit into from
Sep 9, 2024
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
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