Skip to content

Commit af33fb7

Browse files
committed
ci(python-wheels): pin actions to commit SHAs (org policy)
1 parent d379b51 commit af33fb7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/python-wheels.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ jobs:
3232
- { os: macos-13, target: x86_64 }
3333
- { os: windows-latest, target: x64 }
3434
steps:
35-
- uses: actions/checkout@v4
36-
- uses: actions/setup-python@v5
35+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v4
36+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v5
3737
with:
3838
python-version: "3.9"
3939
- name: Build wheel
40-
uses: PyO3/maturin-action@v1
40+
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
4141
with:
4242
working-directory: rust/python
4343
target: ${{ matrix.target }}
4444
manylinux: auto
4545
args: --release --out dist
46-
- uses: actions/upload-artifact@v4
46+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v4
4747
with:
4848
name: wheels-${{ matrix.os }}-${{ matrix.target }}
4949
path: rust/python/dist/*.whl
@@ -57,12 +57,12 @@ jobs:
5757
permissions:
5858
id-token: write # PyPI trusted publishing (OIDC)
5959
steps:
60-
- uses: actions/download-artifact@v4
60+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v4
6161
with:
6262
pattern: wheels-*
6363
merge-multiple: true
6464
path: dist
65-
- uses: pypa/gh-action-pypi-publish@release/v1
65+
- uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1
6666
with:
6767
packages-dir: dist
6868
# First publish needs a PyPI trusted-publisher config for `ifclite-geom`

0 commit comments

Comments
 (0)