Skip to content

Commit f5d72e8

Browse files
committed
Use SHA for action versions
1 parent 4d6f943 commit f5d72e8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ jobs:
2525
runs-on: ubuntu-latest
2626

2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
2929

3030
- name: Build wheel and sdist
3131
run: pipx run build
3232

33-
- uses: actions/upload-artifact@v4
33+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # 4.6.2
3434
with:
3535
name: wheel-sdist
3636
path: dist/*
@@ -44,11 +44,11 @@ jobs:
4444
# or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
4545
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
4646
steps:
47-
- uses: actions/download-artifact@v4
47+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # 4.3.0
4848
with:
4949
# unpacks all CIBW artifacts into dist/
5050
pattern: wheel-sdist
5151
path: dist
5252
merge-multiple: true
5353

54-
- uses: pypa/gh-action-pypi-publish@release/v1
54+
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # 1.12.4

0 commit comments

Comments
 (0)