Skip to content

Commit

Permalink
Merge pull request #46 from cyber-dojo/set-fetch-depth-to-one
Browse files Browse the repository at this point in the history
CI: in checkout steps explicitly set fetch depth to zero or one
  • Loading branch information
JonJagger authored Sep 9, 2024
2 parents 7bc2c4c + d8a11c2 commit d816d94
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 d816d94

Please sign in to comment.