Skip to content

Commit 86f0f05

Browse files
committed
add approve-publish step
1 parent f28cb4c commit 86f0f05

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build-and-publish.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,17 @@ jobs:
4242
run: |
4343
python -m unittest tests/*.py
4444
45+
approve-publish:
46+
name: Approve publish
47+
needs: unit-tests
48+
runs-on: ubuntu-latest
49+
environment: sdk-publish-approval
50+
steps:
51+
- run: echo "Publish approved"
52+
4553
build-and-pubish:
4654
name: Build and publish Python packages to PyPi
47-
needs: unit-tests
55+
needs: approve-publish
4856
uses: IABTechLab/uid2-shared-actions/.github/workflows/shared-publish-to-pypi-versioned.yaml@v3
4957
with:
5058
release_type: ${{ inputs.release_type }}

0 commit comments

Comments
 (0)