Skip to content

Commit a0d2f98

Browse files
author
Timothy MacDonald
authored
ci(release): add token to version step (#167)
* ci(release): allow release action to push changelog Signed-off-by: Timothy MacDonald <[email protected]> * ci(release): add token to version step Signed-off-by: Timothy MacDonald <[email protected]> --------- Signed-off-by: Timothy MacDonald <[email protected]>
1 parent f9974df commit a0d2f98

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/python-release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
git config --global tag.gpgSign true
5454
poetry run semantic-release version --major
5555
poetry run semantic-release publish
56+
env:
57+
GH_TOKEN: ${{secrets.TOKEN}}
58+
5659

5760
- name: Python Semantic Release
5861
if: ${{ inputs.bump_major == 'false' }}
@@ -65,6 +68,9 @@ jobs:
6568
git config --global tag.gpgSign true
6669
poetry run semantic-release version
6770
poetry run semantic-release publish
71+
env:
72+
GH_TOKEN: ${{secrets.TOKEN}}
73+
6874

6975
- name: Publish to PyPi
7076
run: |

0 commit comments

Comments
 (0)