[Chore] Remove Rye. Fully migrate to UV #418
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release Doctor | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| jobs: | |
| release_doctor: | |
| name: release doctor | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'scaleapi/agentex-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check release environment | |
| run: | | |
| if [ -z "$PYPI_TOKEN" ]; then | |
| echo "Error: The PYPI_TOKEN secret has not been set. Please set it in either this repository's secrets or your organization secrets." | |
| exit 1 | |
| fi | |
| echo "The environment is ready to push releases!" | |
| env: | |
| PYPI_TOKEN: ${{ secrets.AGENTEX_PYPI_TOKEN || secrets.PYPI_TOKEN }} |