diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e40bae476..e3a17e329 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -52,6 +52,7 @@ jobs: pypi-publish: name: upload release to PyPI needs: validate + if: github.event.workflow_run.head_branch != 'main' runs-on: ubuntu-latest environment: release permissions: diff --git a/python/setup.py b/python/setup.py index 488557388..05182ab8b 100644 --- a/python/setup.py +++ b/python/setup.py @@ -53,6 +53,7 @@ def get_tag(self): version=get_version(), description="Rewrite of the MLFlow tracking server with a focus on scalability.", long_description=get_long_description(), + long_description_content_type="text/markdown", packages=find_packages(), include_package_data=True, data_files=get_data_files(),