Skip to content

Commit 265fd09

Browse files
committed
ci: pin release workflow actions
1 parent 836b022 commit 265fd09

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,27 @@ jobs:
1010
pypi-publish:
1111
name: Upload release to PyPI
1212
runs-on: ubuntu-latest
13-
environment:
13+
environment:
1414
name: release
1515
url: https://pypi.org/p/ucp-sdk
1616
permissions:
1717
id-token: write
1818
contents: read
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
22+
with:
23+
persist-credentials: false
2224

2325
# Installs uv (and manages Python automatically)
2426
- name: Install uv
25-
uses: astral-sh/setup-uv@v8.2.0
27+
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
2628
with:
2729
enable-cache: true
2830

29-
# 'uv build' automatically creates the sdist and wheel inz 'dist/'
31+
# 'uv build' automatically creates the sdist and wheel in 'dist/'
3032
- name: Build package
3133
run: uv build
3234

3335
- name: Publish to PyPI
34-
uses: pypa/gh-action-pypi-publish@release/v1
36+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # release/v1

0 commit comments

Comments
 (0)