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 4a8a688 commit 6aac051Copy full SHA for 6aac051
.github/workflows/pypi_release.yml
@@ -10,9 +10,17 @@ on:
10
jobs:
11
release-pipeline:
12
13
- runs-on: ubuntu-latest
14
- strategy:
15
- max-parallel: 4
+ runs-on:
+ group: databrickslabs-protected-runner-group
+ labels: ubuntu-latest
16
+
17
+ environment: release
18
19
+ permissions:
20
+ # Used to authenticate to PyPI via OIDC and sign the release's artifacts with sigstore-python.
21
+ id-token: write
22
+ # Used to attach signing artifacts to the published release.
23
+ contents: write
24
25
steps:
26
- uses: actions/checkout@v4
@@ -39,5 +47,3 @@ jobs:
39
47
- name: Publish distribution 📦 to PyPI
40
48
if: startsWith(github.ref, 'refs/tags')
41
49
uses: pypa/gh-action-pypi-publish@release/v1
42
- with:
43
- password: ${{ secrets.LABS_PYPI_TOKEN }}
0 commit comments