File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 group : ${{ github.workflow }}-release-${{ github.ref_name }}
2929 cancel-in-progress : false
3030
31+ environment : release
3132 permissions :
3233 contents : write
3334
4142 - name : Setup | Checkout Repository on Release Branch
4243 uses : actions/checkout@v4
4344 with :
45+ token : ${{ secrets.PYTHON_SEMANTIC_RELEASE_TOKEN }}
4446 ref : ${{ github.ref_name }}
4547 fetch-depth : 0
4648
@@ -92,15 +94,15 @@ jobs:
9294 # Adjust tag with desired version if applicable.
9395 uses : python-semantic-release/python-semantic-release@v10.4.1
9496 with :
95- github_token : ${{ secrets.GITHUB_TOKEN }}
97+ github_token : ${{ secrets.PYTHON_SEMANTIC_RELEASE_TOKEN }}
9698 git_committer_name : " github-actions"
9799 git_committer_email : " actions@users.noreply.github.com"
98100
99101 - name : Publish | Upload to GitHub Release Assets
100102 uses : python-semantic-release/publish-action@v10.4.1
101103 if : steps.release.outputs.released == 'true'
102104 with :
103- github_token : ${{ secrets.GITHUB_TOKEN }}
105+ github_token : ${{ secrets.PYTHON_SEMANTIC_RELEASE_TOKEN }}
104106 tag : ${{ steps.release.outputs.tag }}
105107
106108 - name : Upload | Distribution Artifacts
You can’t perform that action at this time.
0 commit comments