File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ updates :
3+ - package-ecosystem : " github-actions"
4+ directory : " /"
5+ schedule :
6+ interval : " weekly"
Original file line number Diff line number Diff line change @@ -2,20 +2,23 @@ name: Publish library
22
33on :
44 push :
5- branches :
6- - main
75 tags :
86 # Don't try to be smart about PEP 440 compliance,
97 # see https://www.python.org/dev/peps/pep-0440/#appendix-b-parsing-version-strings-with-regular-expressions
108 - v*
119
1210jobs :
1311 publish :
12+ environment :
13+ name : publish
14+ url : https://pypi.org/p/labs-sphinx-theme
1415 runs-on : ubuntu-latest
16+ permissions :
17+ id-token : write
1518 steps :
16- - uses : actions/checkout@v2
19+ - uses : actions/checkout@v4
1720 - name : Set up Python
18- uses : actions/setup-python@v4
21+ uses : actions/setup-python@v5
1922 with :
2023 python-version : " 3.10"
2124 - name : Install build dependencies
2528 - name : Publish to PyPI
2629 uses : pypa/gh-action-pypi-publish@release/v1
2730 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
28- with :
29- user : __token__
30- password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments