Skip to content

Commit ec417c7

Browse files
authored
ci: pin GH-action semantic-release to v7.28.1 (#359)
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 350297e commit ec417c7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/manual-release-candidate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ jobs:
5050
# see https://github.com/pypa/gh-action-pypi-publish
5151
uses: pypa/gh-action-pypi-publish@master
5252
with:
53-
password: ${{ secrets.PYPI_TOKEN }}
53+
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,12 @@ jobs:
7171
- name: Python Semantic Release
7272
id: semantic-release
7373
# see https://python-semantic-release.readthedocs.io/en/latest/automatic-releases/github-actions.html
74-
uses: relekang/python-semantic-release@master
74+
# see https://github.com/relekang/python-semantic-release
75+
uses: relekang/python-semantic-release@v7.28.1
7576
with:
7677
github_token: ${{ secrets.GITHUB_TOKEN }}
78+
repository_username: __token__
79+
repository_password: ${{ secrets.PYPI_TOKEN }}
7780
pypi_token: ${{ secrets.PYPI_TOKEN }}
7881
- name: post-hook
7982
id: after-release

0 commit comments

Comments
 (0)