diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7bc917..cc56855 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,6 +32,7 @@ jobs: permissions: contents: read id-token: write + if: ${{ contains(github.event.pull_request.labels.*.name, 'release') && github.event.pull_request.merged == true }} steps: - name: Download Distribution Packages uses: actions/download-artifact@v8.0.1 @@ -46,5 +47,6 @@ jobs: release: uses: opengood-ai/central-workflows/.github/workflows/python-release.yml@main + needs: [ py-pi-release ] secrets: workflow-token: ${{ secrets.WORKFLOW_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index 4ff95da..bc86ef1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools >= 82.0.1", "wheel"] +requires = ["setuptools >= 82.9.0", "wheel > 0.46.3"] build-backend = "setuptools.build_meta" [project]