diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index d877b5c..8bac236 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -60,12 +60,13 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + token: ${{ secrets.RELEASE_TOKEN }} - name: Use Python Semantic Release to prepare release id: release uses: python-semantic-release/python-semantic-release@v8.3.0 with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.RELEASE_TOKEN }} - name: Publish to TestPyPI uses: pypa/gh-action-pypi-publish@release/v1 @@ -92,4 +93,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.GITHUB_TOKEN }} \ No newline at end of file