Skip to content

[Chore] Remove Rye. Fully migrate to UV #418

[Chore] Remove Rye. Fully migrate to UV

[Chore] Remove Rye. Fully migrate to UV #418

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 }}