From 0dee48424382b0bf93298040eafd691830220f10 Mon Sep 17 00:00:00 2001 From: ProofCore Protocol Date: Sat, 12 Sep 2026 13:42:52 +0500 Subject: [PATCH] ci: add cryptographic release provenance for PyPI distribution packages --- .github/workflows/python-package.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6337b50..760ea55 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -38,10 +38,14 @@ jobs: - name: Test with pytest run: | pytest + deploy: if: (github.repository == 'yungwine/pytoniq') && (github.event_name == 'push') needs: build runs-on: ubuntu-latest + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@v3 @@ -55,6 +59,14 @@ jobs: pip install build - name: Build package run: python -m build + + # 🛡️ ProofCore: Cryptographic supply-chain notarization for PyPI distribution packages + - name: Notarize PyPI Distribution Packages via ProofCore + uses: ProofCore-Protocol/proofcore-action@v1 + continue-on-error: true + with: + files: "dist/*" + - name: Publish package uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 with: