Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 86e9957

Browse files
Use OIDC for PyPI release
Signed-off-by: Jordan Borean <jborean93@gmail.com>
1 parent b15b139 commit 86e9957

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ jobs:
251251
- windows
252252

253253
runs-on: ubuntu-latest
254+
permissions:
255+
# IMPORTANT: this permission is mandatory for trusted publishing
256+
id-token: write
257+
254258
steps:
255259
- name: Check out code
256260
uses: actions/checkout@v3
@@ -323,7 +327,4 @@ jobs:
323327

324328
- name: Deploy to PyPI
325329
if: startsWith(github.ref, 'refs/tags/v')
326-
uses: pypa/gh-action-pypi-publish@v1.5.1
327-
with:
328-
user: __token__
329-
password: ${{ secrets.pypi_password }}
330+
uses: pypa/gh-action-pypi-publish@release/v1

‎docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@
316316

317317

318318
# Example configuration for intersphinx: refer to the Python standard library.
319-
intersphinx_mapping = {'http://docs.python.org/': None}
319+
intersphinx_mapping = {'python': ('http://docs.python.org/', None)}
320320

321321
# which docstring to use for the class
322322
# can be 'class', 'init', or 'both'

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /