fix: protected branch

This commit is contained in:
jeremy-bepoix authored and GitHub committed 2024-07-12 17:28:36 +02:00
1 parent ddfda458b8
commit da6af24e82
1 file changed
+3 -1
+3 -1
View File
@@ -17,12 +17,13 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
persist-credentials: false
- 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 }}
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
@@ -37,6 +38,7 @@ 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 }}
tag: ${{ steps.release.outputs.tag }}