Skip to content

Commit b64d952

Browse files
committed
FIX: do not fetch entire repo if not necessary
1 parent 4ec1586 commit b64d952

File tree

12 files changed

+3
-27
lines changed

12 files changed

+3
-27
lines changed

.github/workflows/changelog.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
19+
# fetch all history for all branches and tags
1920
with:
2021
fetch-depth: 0
22+
2123
- name: Generate a changelog
2224
uses: orhun/git-cliff-action@main
2325
id: git-cliff

.github/workflows/codecov.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
paths:
66
- '**/*.py' # Watch for changes in any Python files
77
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
8-
- 'workflows/codecov.yml'
98
workflow_dispatch:
109

1110
jobs:
@@ -15,8 +14,6 @@ jobs:
1514
steps:
1615
- name: Checkout
1716
uses: actions/checkout@v4
18-
with:
19-
fetch-depth: 0
2017

2118
- name: Set up Python 3.12
2219
uses: actions/setup-python@v5

.github/workflows/coverage.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
20-
with:
21-
fetch-depth: 0
2220

2321
- name: Set up Python ${{ matrix.python-version }}
2422
uses: actions/setup-python@v5

.github/workflows/gitavscan.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ jobs:
1010
steps:
1111
- name: Checkout
1212
uses: actions/checkout@v4
13-
with:
14-
fetch-depth: '0'
1513

1614
- name: Git AV Scan
1715
uses: djdefi/gitavscan@main

.github/workflows/mypy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
paths:
66
- '**/*.py' # Watch for changes in any Python files
77
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
8-
- 'workflows/mypy.yml'
98
workflow_dispatch:
109

1110
jobs:
@@ -16,8 +15,6 @@ jobs:
1615
steps:
1716
- name: Checkout
1817
uses: actions/checkout@v4
19-
with:
20-
fetch-depth: 0
2118

2219
- name: Install dependencies
2320
run: |

.github/workflows/pylint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
paths:
66
- '**/*.py' # Watch for changes in any Python files
77
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
8-
- 'workflows/pylint.yml'
98
workflow_dispatch:
109

1110
jobs:
@@ -18,8 +17,6 @@ jobs:
1817
steps:
1918
- name: Checkout
2019
uses: actions/checkout@v4
21-
with:
22-
fetch-depth: 0
2320

2421
- name: Set up Python ${{ matrix.python-version }}
2522
uses: actions/setup-python@v5

.github/workflows/python-publish.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v4
28-
with:
29-
fetch-depth: 0
3028

3129
- name: Set up Python 3.12
3230
uses: actions/setup-python@v5

.github/workflows/ruff.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
paths:
66
- '**/*.py' # Watch for changes in any Python files
77
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
8-
- 'workflows/ruff.yml'
98
workflow_dispatch:
109

1110
#concurrency:
@@ -22,8 +21,6 @@ jobs:
2221
steps:
2322
- name: Checkout
2423
uses: actions/checkout@v4
25-
with:
26-
fetch-depth: 0
2724

2825
# Ruff does not need a specific python version installed
2926
- name: Install dependencies

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
paths:
66
- '**/*.py' # Watch for changes in any Python files
77
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
8-
- 'workflows/unit-tests.yml'
98
workflow_dispatch:
109

1110
jobs:
@@ -22,8 +21,6 @@ jobs:
2221
steps:
2322
- name: Checkout
2423
uses: actions/checkout@v4
25-
with:
26-
fetch-depth: 0
2724

2825
- name: Set up Python ${{ matrix.python-version }}
2926
uses: actions/setup-python@v5

.github/workflows/unittests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
paths:
88
- '**/*.py' # Watch for changes in any Python files
99
- 'pyproject.yml' # Watch for changes in the pyproject.yml file
10-
- 'workflows/unittests.yml'
1110
workflow_dispatch:
1211

1312
jobs:
@@ -24,8 +23,6 @@ jobs:
2423
steps:
2524
- name: Checkout
2625
uses: actions/checkout@v4
27-
with:
28-
fetch-depth: 0
2926

3027
- name: Set up Python ${{ matrix.python-version }}
3128
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)