Skip to content

Commit

Permalink
ci: Update GitHub Actions workflow to fetch full Git history
Browse files Browse the repository at this point in the history
- Added `fetch-depth: 0` option to `actions/checkout` step
- This ensures that the full Git history is fetched during CI/CD workflow
  • Loading branch information
ntindle committed Nov 10, 2023
1 parent af0ee85 commit e408da1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -38,6 +40,8 @@ jobs:
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -60,6 +64,8 @@ jobs:
python-version: [3.11, 3.12]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -87,6 +93,8 @@ jobs:
python-version: [3.12]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit e408da1

Please sign in to comment.