From f1706ed0ac6c88a17dc95a0ae107d6fc4a465b02 Mon Sep 17 00:00:00 2001 From: jeremy-bepoix <145460090+jeremy-bepoix@users.noreply.github.com> Date: Fri, 12 Jul 2024 17:36:10 +0200 Subject: [PATCH] fix: protected branch --- .github/workflows/release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d46dbf7..7f283f3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,14 +17,13 @@ jobs: steps: - uses: actions/checkout@v4 with: - GH_TOKEN: ${{ secrets.GH_TOKEN }} + github_token: ${{ secrets.GH_TOKEN }} fetch-depth: 0 - name: Python Semantic Release id: release uses: python-semantic-release/python-semantic-release@master with: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GH_TOKEN }} - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: @@ -38,7 +37,6 @@ jobs: if: steps.release.outputs.released == 'true' uses: python-semantic-release/upload-to-gh-release@main with: - GH_TOKEN: ${{ secrets.GH_TOKEN }} - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.GH_TOKEN }} tag: ${{ steps.release.outputs.tag }}