From 94202c0dbd7bfc698380b152cd4cf72eaa380748 Mon Sep 17 00:00:00 2001 From: crccheck Date: Fri, 8 Sep 2023 05:50:26 +0000 Subject: [PATCH] fix: Github is stupid --- .github/workflows/release.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 053c674..e372b9f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,12 +18,13 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 + persist-credentials: false - name: Python Semantic Release id: release # https://github.com/python-semantic-release/python-semantic-release/releases uses: python-semantic-release/python-semantic-release@v8.0.8 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 @@ -35,4 +36,4 @@ jobs: uses: python-semantic-release/upload-to-gh-release@main if: steps.release.outputs.released == 'true' with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.BOT_GITHUB_TOKEN }}