fix: protected branch

This commit is contained in:
jeremy-bepoix authored and GitHub committed 2024-07-12 17:36:10 +02:00
1 parent da6af24e82
commit f1706ed0ac
1 file changed
+3 -5
+3 -5
View File
@@ -17,14 +17,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
GH_TOKEN: ${{ secrets.GH_TOKEN }} github_token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0 fetch-depth: 0
- name: Python Semantic Release - name: Python Semantic Release
id: release id: release
uses: python-semantic-release/python-semantic-release@master uses: python-semantic-release/python-semantic-release@master
with: with:
GH_TOKEN: ${{ secrets.GH_TOKEN }} github_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python ${{ matrix.python-version }} - name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
@@ -38,7 +37,6 @@ jobs:
if: steps.release.outputs.released == 'true' if: steps.release.outputs.released == 'true'
uses: python-semantic-release/upload-to-gh-release@main uses: python-semantic-release/upload-to-gh-release@main
with: with:
GH_TOKEN: ${{ secrets.GH_TOKEN }} github_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }} tag: ${{ steps.release.outputs.tag }}