Skip to content

Commit deae8f4

Browse files
committed
Use specific tag in the gh-action-pypi-publish action
Otherwise we see this warning: Warning: You are using "pypa/gh-action-pypi-publish@master". The "master" branch of this project has been sunset and will not receive any updates, not even security bug fixes. Please, make sure to use a supported version. If you want to pin to v1 major version, use "pypa/gh-action-pypi-publish@release/v1". If you feel adventurous, you may opt to use use "pypa/gh-action-pypi-publish@unstable/v1" instead. A more general recommendation is to pin to exact tags or commit shas.
1 parent 10f55f7 commit deae8f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,8 @@ jobs:
4343
python -m build
4444
4545
- name: Publish package to PyPI
46-
uses: pypa/gh-action-pypi-publish@master
46+
uses: pypa/gh-action-pypi-publish@release/v1
4747
with:
48-
user: __token__
4948
password: ${{ secrets.pypi_token }}
5049

5150
- name: Publish GitHub release notes

0 commit comments

Comments
 (0)