From 5ebe7e151a554eaccd04cc6ce6748abe3887802d Mon Sep 17 00:00:00 2001 From: Aaron <29749331+aarnphm@users.noreply.github.com> Date: Sun, 4 Jun 2023 15:39:32 -0700 Subject: [PATCH] fix: set AUTHOR_NAME and AUTHOR_EMAIL for automatic release Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> --- .github/workflows/release-notes.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/release-notes.yml b/.github/workflows/release-notes.yml index e548b6dd..c11aa1be 100644 --- a/.github/workflows/release-notes.yml +++ b/.github/workflows/release-notes.yml @@ -4,6 +4,14 @@ on: push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' +env: + # This special value tells pypi that the user identity is supplied within the token + TWINE_USERNAME: __token__ + # Note, the PYPI_API_TOKEN is for the OpenLLM PyPI user, on + # https://github.com/bentoml/openllm/settings/secrets/actions + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + GIT_AUTHOR_NAME: github-actions[bot] + GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun defaults: run: