Skip to content

Commit

Permalink
CI: in checkout steps explicitly set fetch depth to zero or one
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Sep 9, 2024
1 parent 7bc2c4c commit d8a11c2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
fetch-depth: 10
fetch-depth: 1

- name: Prepare outputs for workflow jobs
id: vars
Expand Down Expand Up @@ -66,6 +66,8 @@ jobs:
pull-requests: read
steps:
- uses: actions/[email protected]
with:
fetch-depth: 1

- name: Setup Kosli CLI
uses: kosli-dev/setup-cli-action@v2
Expand Down Expand Up @@ -127,7 +129,7 @@ jobs:
steps:
- uses: actions/[email protected]
with:
fetch-depth: 100
fetch-depth: 1

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit d8a11c2

Please sign in to comment.