Skip to content

Commit 0d7c7de

Browse files
committed
Pin all Github actions
1 parent 36fadda commit 0d7c7de

4 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/publish-to-pypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 from 2026-01-09.
1414
with:
1515
persist-credentials: false
1616

1717
- name: Set up Python
18-
uses: actions/setup-python@v6
18+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 from 2026-01-21.
1919
with:
2020
python-version: "3.x"
2121

@@ -26,7 +26,7 @@ jobs:
2626
run: python3 -m build
2727

2828
- name: Store the distribution packages
29-
uses: actions/upload-artifact@v5
29+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 from 2026-02-26.
3030
with:
3131
name: python-package-distributions
3232
path: dist/
@@ -44,12 +44,12 @@ jobs:
4444

4545
steps:
4646
- name: Download all the dists
47-
uses: actions/download-artifact@v6
47+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 from 2026-03-11.
4848
with:
4949
name: python-package-distributions
5050
path: dist/
5151

5252
- name: Publish distribution to PyPI
53-
uses: pypa/gh-action-pypi-publish@v1.13.0
53+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 from 2025-09-03.
5454
with:
5555
print-hash: true

.github/workflows/publish-to-testpypi.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v6
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 from 2026-01-09.
1414
with:
1515
persist-credentials: false
1616

@@ -21,7 +21,7 @@ jobs:
2121
run: git fetch --shallow-since=$(git show -s --format='%as' $(git rev-list --tags --max-count=1)) origin
2222

2323
- name: Set up Python
24-
uses: actions/setup-python@v6
24+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 from 2026-01-21.
2525
with:
2626
python-version: "3.x"
2727

@@ -35,7 +35,7 @@ jobs:
3535
run: python3 -m build
3636

3737
- name: Store the distribution packages
38-
uses: actions/upload-artifact@v5
38+
uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 from 2026-02-26.
3939
with:
4040
name: python-package-distributions
4141
path: dist/
@@ -53,13 +53,13 @@ jobs:
5353

5454
steps:
5555
- name: Download all the dists
56-
uses: actions/download-artifact@v6
56+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 from 2026-03-11.
5757
with:
5858
name: python-package-distributions
5959
path: dist/
6060

6161
- name: Publish distribution to TestPyPI
62-
uses: pypa/gh-action-pypi-publish@v1.13.0
62+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0 from 2025-09-03.
6363
with:
6464
repository-url: https://test.pypi.org/legacy/
6565
print-hash: true

.github/workflows/test-all.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ jobs:
6363
backend: re2
6464

6565
steps:
66-
- uses: actions/checkout@v6
66+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 from 2026-01-09.
6767

6868
- name: Set up Python ${{ matrix.python }}
69-
uses: actions/setup-python@v6
69+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 from 2026-01-21.
7070
with:
7171
python-version: ${{ matrix.python }}
7272
allow-prereleases: true
@@ -88,10 +88,10 @@ jobs:
8888
name: Docs
8989
runs-on: ubuntu-latest
9090
steps:
91-
- uses: actions/checkout@v6
91+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 from 2026-01-09.
9292

9393
- name: Set up Python ${{ matrix.python }}
94-
uses: actions/setup-python@v6
94+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 from 2026-01-21.
9595
with:
9696
python-version: "3.13"
9797

.github/workflows/test-quick.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
- base
2828

2929
steps:
30-
- uses: actions/checkout@v6
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 from 2026-01-09.
3131

3232
- name: Set up Python ${{ matrix.python }}
33-
uses: actions/setup-python@v6
33+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 from 2026-01-21.
3434
with:
3535
python-version: ${{ matrix.python }}
3636
allow-prereleases: true

0 commit comments

Comments
 (0)