We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8db5d19 commit 0ef87e9Copy full SHA for 0ef87e9
.github/workflows/publish.yaml
@@ -3,12 +3,16 @@
3
#
4
name: Publish to PyPI
5
6
-on: [push, pull_request]
+on: [push]
7
8
jobs:
9
publish-to-pypi:
10
runs-on: ubuntu-latest
11
-
+ environment:
12
+ name: pypi
13
+ url: https://pypi.org/p/kubernetes-asyncio
14
+ permissions:
15
+ id-token: write
16
steps:
17
- uses: actions/checkout@v4
18
- uses: actions/setup-python@v5
@@ -29,6 +33,3 @@ jobs:
29
33
- name: Publish to PyPI
30
34
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
31
35
uses: pypa/gh-action-pypi-publish@release/v1
32
- with:
- user: __token__
- password: ${{ secrets.pypi_api_token }}
0 commit comments