Skip to content

Commit 6aac051

Browse files
committed
Updated release
1 parent 4a8a688 commit 6aac051

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/pypi_release.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,17 @@ on:
1010
jobs:
1111
release-pipeline:
1212

13-
runs-on: ubuntu-latest
14-
strategy:
15-
max-parallel: 4
13+
runs-on:
14+
group: databrickslabs-protected-runner-group
15+
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
1624

1725
steps:
1826
- uses: actions/checkout@v4
@@ -39,5 +47,3 @@ jobs:
3947
- name: Publish distribution 📦 to PyPI
4048
if: startsWith(github.ref, 'refs/tags')
4149
uses: pypa/gh-action-pypi-publish@release/v1
42-
with:
43-
password: ${{ secrets.LABS_PYPI_TOKEN }}

0 commit comments

Comments
 (0)