Skip to content

Commit d1aacf3

Browse files
authored
chore: hash-pin actions versions (#146)
1 parent 87eafe9 commit d1aacf3

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
- "3.13"
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
with:
2424
persist-credentials: false
2525

26-
- uses: actions/setup-python@v5
26+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2727
with:
2828
python-version: ${{ matrix.python }}
2929
cache: pip
@@ -41,18 +41,18 @@ jobs:
4141

4242
steps:
4343
- name: check test jobs
44-
uses: re-actors/alls-green@v1.2.2
44+
uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
4545
with:
4646
jobs: ${{ toJSON(needs) }}
4747

4848
lint:
4949
runs-on: ubuntu-latest
5050
steps:
51-
- uses: actions/checkout@v4
51+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5252
with:
5353
persist-credentials: false
5454

55-
- uses: actions/setup-python@v5
55+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5656
with:
5757
python-version: "3.x"
5858

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
with:
1515
persist-credentials: false
1616

17-
- uses: actions/setup-python@v5
17+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1818
with:
1919
python-version: "3.x"
2020
cache: "pip"
@@ -29,7 +29,7 @@ jobs:
2929
make doc
3030
3131
- name: upload docs artifact
32-
uses: actions/upload-pages-artifact@v3.0.1
32+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
3333
with:
3434
path: ./docs/_build/html/
3535

@@ -45,4 +45,4 @@ jobs:
4545
url: ${{ steps.deployment.outputs.page_url }}
4646
steps:
4747
- id: deployment
48-
uses: actions/deploy-pages@v4.0.5
48+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5

.github/workflows/listgen.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: ubuntu-latest
2121

2222
steps:
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
persist-credentials: false
2626

27-
- uses: actions/setup-python@v5
27+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2828
with:
2929
# NOTE: matrix.python is intentionally not used here.
3030
python-version: "3.x"
@@ -39,7 +39,7 @@ jobs:
3939
./env/bin/python ./support/fetch-sphinx.py "${LISTGEN_PYTHON_VERSION}" > pre-list.txt
4040
4141
- name: upload pre-list
42-
uses: actions/upload-artifact@v4
42+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4343
with:
4444
name: pre-list-${{ matrix.python }}
4545
path: pre-list.txt
@@ -56,15 +56,15 @@ jobs:
5656
runs-on: ubuntu-latest
5757

5858
steps:
59-
- uses: actions/checkout@v4
59+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6060
with:
6161
persist-credentials: false
6262

63-
- uses: actions/setup-python@v5
63+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
6464
with:
6565
python-version: ${{ matrix.python }}
6666

67-
- uses: actions/download-artifact@v4
67+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
6868
with:
6969
name: pre-list-${{ matrix.python }}
7070

@@ -93,7 +93,7 @@ jobs:
9393
9494
- name: create PR
9595
if: ${{ !inputs.dry-run }}
96-
uses: peter-evans/create-pull-request@v7
96+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
9797
with:
9898
commit-message: "[BOT] update list for ${{ matrix.python }}"
9999
branch: update-stdlib-list-${{ matrix.python }}
@@ -119,12 +119,12 @@ jobs:
119119
runs-on: ubuntu-latest
120120

121121
steps:
122-
- uses: actions/checkout@v4
122+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
123123
with:
124124
persist-credentials: false
125125

126126

127-
- uses: actions/setup-python@v5
127+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
128128
with:
129129
python-version: ${{ matrix.python }}
130130

@@ -152,7 +152,7 @@ jobs:
152152
153153
- name: create PR
154154
if: ${{ !inputs.dry-run }}
155-
uses: peter-evans/create-pull-request@v7
155+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
156156
with:
157157
commit-message: "[BOT] update list for ${{ matrix.python }}"
158158
branch: update-stdlib-list-${{ matrix.python }}

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
contents: write
2020

2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2323
with:
2424
persist-credentials: false
2525

26-
- uses: actions/setup-python@v5
26+
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2727
with:
2828
python-version: "3.x"
2929

@@ -34,6 +34,6 @@ jobs:
3434
run: python -m build
3535

3636
- name: publish
37-
uses: pypa/gh-action-pypi-publish@v1.12.4
37+
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
3838
with:
3939
attestations: true

.github/workflows/zizmor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ jobs:
1717
actions: read
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
persist-credentials: false
2323

2424
- name: Install the latest version of uv
25-
uses: astral-sh/setup-uv@v5
25+
uses: astral-sh/setup-uv@c7f87aa956e4c323abf06d5dec078e358f6b4d04 # v6.0.0
2626

2727
- name: Run zizmor 🌈
2828
run: uvx zizmor --format sarif . > results.sarif
2929
env:
3030
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

3232
- name: Upload SARIF file
33-
uses: github/codeql-action/upload-sarif@v3
33+
uses: github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387 # v3.28.16
3434
with:
3535
sarif_file: results.sarif
3636
category: zizmor

0 commit comments

Comments
 (0)