Skip to content

Commit 482b613

Browse files
authored
Hash pin GitHub Actions (#310)
1 parent 32748c2 commit 482b613

8 files changed

Lines changed: 23 additions & 30 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v6
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1616
with:
1717
persist-credentials: false
1818

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

2424
- name: Install uv
25-
uses: astral-sh/setup-uv@v8.0.0
25+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2626

2727
- name: Docs
2828
run: |

.github/workflows/labels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
pull-requests: write
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818
with:
1919
persist-credentials: false
20-
- uses: micnncim/action-label-syncer@v1
20+
- uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0
2121
with:
2222
prune: false
2323
env:

.github/workflows/lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ 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
2020

2121
mypy:
2222
runs-on: ubuntu-latest
2323

2424
steps:
25-
- uses: actions/checkout@v6
25+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2626
with:
2727
persist-credentials: false
28-
- uses: actions/setup-python@v6
28+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2929
with:
3030
python-version: "3.x"
3131
- name: Install uv
32-
uses: astral-sh/setup-uv@v8.0.0
32+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
3333
- name: Mypy
3434
run: uvx --with tox-uv tox -e mypy

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-slim
2626
steps:
2727
# Drafts your next release notes as pull requests are merged into "main"
28-
- uses: release-drafter/release-drafter@v7
28+
- uses: release-drafter/release-drafter@5de93583980a40bd78603b6dfdcda5b4df377b32 # v7.2.0
2929

3030
autolabeler:
3131
if: |
@@ -36,4 +36,4 @@ jobs:
3636
pull-requests: write
3737
runs-on: ubuntu-slim
3838
steps:
39-
- uses: release-drafter/release-drafter/autolabeler@v7
39+
- uses: release-drafter/release-drafter/autolabeler@5de93583980a40bd78603b6dfdcda5b4df377b32 # v7.2.0

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- uses: actions/checkout@v6
26+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2727
with:
2828
fetch-depth: 0
2929
persist-credentials: false
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
scripts/generate-translation-binaries.sh
3838
39-
- uses: hynek/build-and-inspect-python-package@v2
39+
- uses: hynek/build-and-inspect-python-package@fe0a0fb1925ca263d076ca4f2c13e93a6e92a33e # v2.17.0
4040

4141
# Upload to Test PyPI on every commit on main.
4242
release-test-pypi:
@@ -53,13 +53,13 @@ jobs:
5353

5454
steps:
5555
- name: Download packages built by build-and-inspect-python-package
56-
uses: actions/download-artifact@v8
56+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
5757
with:
5858
name: Packages
5959
path: dist
6060

6161
- name: Upload package to Test PyPI
62-
uses: pypa/gh-action-pypi-publish@release/v1
62+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
6363
with:
6464
repository-url: https://test.pypi.org/legacy/
6565

@@ -77,10 +77,10 @@ jobs:
7777

7878
steps:
7979
- name: Download packages built by build-and-inspect-python-package
80-
uses: actions/download-artifact@v8
80+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
8181
with:
8282
name: Packages
8383
path: dist
8484

8585
- name: Upload package to PyPI
86-
uses: pypa/gh-action-pypi-publish@release/v1
86+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0

.github/workflows/require-pr-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write
1414

1515
steps:
16-
- uses: mheap/github-action-required-labels@v5
16+
- uses: mheap/github-action-required-labels@0ac283b4e65c1fb28ce6079dea5546ceca98ccbe # v5.5.2
1717
with:
1818
mode: minimum
1919
count: 1

.github/workflows/test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828
os: [windows-latest, macos-latest, ubuntu-latest]
2929

3030
steps:
31-
- uses: actions/checkout@v6
31+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
with:
3333
persist-credentials: false
3434

3535
- name: Set up Python ${{ matrix.python-version }}
36-
uses: actions/setup-python@v6
36+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3737
with:
3838
python-version: ${{ matrix.python-version }}
3939
allow-prereleases: true
@@ -54,7 +54,7 @@ jobs:
5454
brew install gettext
5555
5656
- name: Install uv
57-
uses: astral-sh/setup-uv@v8.0.0
57+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
5858

5959
- name: Generate translation binaries
6060
run: |
@@ -65,7 +65,7 @@ jobs:
6565
uvx --python ${{ matrix.python-version }} --with tox-uv tox -e py
6666
6767
- name: Upload coverage
68-
uses: codecov/codecov-action@v6
68+
uses: codecov/codecov-action@57e3a136b779b570ffcdbf80b3bdc90e7fab3de2 # v6.0.0
6969
with:
7070
flags: ${{ matrix.os }}
7171
name: ${{ matrix.os }} Python ${{ matrix.python-version }}

.github/zizmor.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)