Skip to content

Commit 7dadcc7

Browse files
committed
ensure tags are present
this should fix the message during CI ``` .../setuptools_scm/git.py:163: UserWarning: "/home/runner/work/circuitpython-build-tools/circuitpython-build-tools" is shallow and may cause errors warnings.warn(f'"{wd.path}" is shallow and may cause errors') ``` This may have been introduced when upgrading action/checkout recently, or it might be pre-existing.
1 parent 6a40797 commit 7dadcc7

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
python3 --version
2525
- name: Checkout Current Repo
2626
uses: actions/checkout@v4
27+
with:
28+
filter: 'blob:none'
29+
depth: 0
2730
- name: Install requirements
2831
run: |
2932
sudo apt-get update

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17+
with:
18+
filter: 'blob:none'
19+
depth: 0
1720
- name: Set up Python
1821
uses: actions/setup-python@v5
1922
with:

0 commit comments

Comments
 (0)