Skip to content

Commit 8d1ad49

Browse files
committed
updates for py building
1 parent 2226c74 commit 8d1ad49

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cicd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,17 @@ jobs:
6363
############################################################################
6464

6565
py-setup:
66+
if: ${{ github.actor != 'dependabot[bot]' }} # dependabot cannot access PAT
6667
runs-on: ubuntu-latest
6768
steps:
6869
- uses: actions/checkout@v4
6970
with:
7071
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
7172
ref: ${{ github.ref }} # dont lock to sha (action needs to push)
73+
fetch-depth: 0 # setuptools-scm needs to access git tags
7274
- uses: WIPACrepo/wipac-dev-py-setup-action@v5.7
7375
with:
76+
mode: PACKAGING_AND_PYPI
7477
pypi_name: 'wipac-dev-actions-testbed'
7578
python_min: 3.12
7679
author: WIPAC Developers
@@ -85,6 +88,8 @@ jobs:
8588
with:
8689
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
8790
ref: ${{ github.ref }} # dont lock to sha (action needs to push)
91+
fetch-depth: 0 # setuptools-scm needs to access git tags
92+
8893
- uses: WIPACrepo/wipac-dev-py-dependencies-action@v3.0
8994

9095

0 commit comments

Comments
 (0)