From 3a15bd40e4e54e8108b686cc6a35b2c9304bd4c4 Mon Sep 17 00:00:00 2001 From: Caleb Herbel Date: Fri, 19 Jan 2024 17:08:13 -0800 Subject: [PATCH 1/2] Add api token to publish workflow --- .github/workflows/publish-python-sdk.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-python-sdk.yml b/.github/workflows/publish-python-sdk.yml index aa2f404..797ebae 100644 --- a/.github/workflows/publish-python-sdk.yml +++ b/.github/workflows/publish-python-sdk.yml @@ -43,4 +43,5 @@ jobs: poetry build - name: Publish Package to PYPI run: | + poetry config pypi-token.pypi ${{ secrets.REBUFF_PYPI_API_TOKEN }} poetry publish From 5bdc5e5df3718ef48b58c6a0ad2ce240b0c419fd Mon Sep 17 00:00:00 2001 From: Caleb Herbel Date: Fri, 19 Jan 2024 17:09:15 -0800 Subject: [PATCH 2/2] Remove id token --- .github/workflows/publish-python-sdk.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/publish-python-sdk.yml b/.github/workflows/publish-python-sdk.yml index 797ebae..252e71b 100644 --- a/.github/workflows/publish-python-sdk.yml +++ b/.github/workflows/publish-python-sdk.yml @@ -14,7 +14,6 @@ jobs: permissions: contents: write pull-requests: write - id-token: write steps: - name: Checkout