Skip to content

Commit a11cfea

Browse files
committed
Hash pin GitHub Actions
1 parent cd861dc commit a11cfea

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v6
16+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1717
with:
1818
persist-credentials: false
19-
- uses: j178/prek-action@v2
19+
- uses: j178/prek-action@cbc2f23eb5539cf20d82d1aabd0d0ecbcc56f4e3 # v2.0.2

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ jobs:
5252
python: "3.14"
5353
experimental: false
5454
steps:
55-
- uses: actions/checkout@v6
55+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5656
- name: Set up Python ${{ matrix.python }}
57-
uses: actions/setup-python@v6
57+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
5858
if: "!endsWith(matrix.python, '-dev')"
5959
with:
6060
python-version: ${{ matrix.python }}
6161
- name: Set up Python ${{ matrix.python }} using deadsnakes
62-
uses: deadsnakes/action@v3.2.0
62+
uses: deadsnakes/action@e640ac8743173a67cca4d7d77cd837e514bf98e8 # v3.2.0
6363
if: "endsWith(matrix.python, '-dev')"
6464
with:
6565
python-version: ${{ matrix.python }}

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
name: Check code with mypy
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v6
18-
- uses: actions/setup-python@v6
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
1919
with:
2020
cache: "pip"
2121
cache-dependency-path: "pyproject.toml"

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
id-token: write
1616

1717
steps:
18-
- uses: actions/checkout@v6
18+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1919
- name: Set up Python
20-
uses: actions/setup-python@v6
20+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2121
with:
2222
python-version: '3.x'
2323
cache: pip
@@ -30,4 +30,4 @@ jobs:
3030
python -m build
3131
- name: Publish distribution 📦 to PyPI
3232
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
33-
uses: pypa/gh-action-pypi-publish@release/v1
33+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0

0 commit comments

Comments
 (0)