Skip to content

Commit e1d9e0e

Browse files
Pin GitHub actions
1 parent 18ea23a commit e1d9e0e

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
dist:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
17-
- uses: hynek/build-and-inspect-python-package@v2
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
- uses: hynek/build-and-inspect-python-package@c52c3a4710070b50470d903818a7b25115dcd076 # v2.13.0
1818

1919
deploy:
2020
needs: [dist]
@@ -25,17 +25,17 @@ jobs:
2525
attestations: write
2626

2727
steps:
28-
- uses: actions/download-artifact@v5
28+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
2929
with:
3030
name: Packages
3131
path: dist
3232

3333
- name: Generate artifact attestation for sdist and wheel
34-
uses: actions/attest-build-provenance@v3
34+
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
3535
with:
3636
subject-path: "dist/*"
3737

3838
- name: Publish package
39-
uses: pypa/gh-action-pypi-publish@release/v1
39+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
4040
with:
4141
password: ${{ secrets.pypi_password }}

.github/workflows/format.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ jobs:
1111
name: Pre-commit checks
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
15-
- uses: actions/setup-python@v5
14+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
15+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1616
with:
1717
python-version: '3.10'
18-
- uses: pre-commit/[email protected]
18+
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131

3232
name: ${{ matrix.os }}, Python ${{ matrix.python-version }}
3333
steps:
34-
- uses: actions/checkout@v5
34+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3535

3636
- name: Set up Python ${{ matrix.python-version }}
37-
uses: actions/setup-python@v5
37+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3838
with:
3939
python-version: ${{ matrix.python-version }}
4040

41-
- uses: astral-sh/setup-uv@v6
41+
- uses: astral-sh/setup-uv@557e51de59eb14aaaba2ed9621916900a91d50c6 # v6.6.1
4242

4343
- name: Install tox
4444
run: uv tool install --with tox-gh-actions --with tox-uv tox
@@ -71,6 +71,6 @@ jobs:
7171
timeout-minutes: 2
7272
steps:
7373
- name: Decide whether the needed jobs succeeded or failed
74-
uses: re-actors/alls-green@release/v1
74+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
7575
with:
7676
jobs: ${{ toJSON(needs) }}

0 commit comments

Comments
 (0)