Skip to content

Commit df7e233

Browse files
committed
Hash pin GitHub Actions
1 parent 6da68a7 commit df7e233

5 files changed

Lines changed: 14 additions & 18 deletions

File tree

.github/workflows/documentation-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
documentation-links:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: readthedocs/actions/preview@v1
21+
- uses: readthedocs/actions/preview@b8bba1484329bda1a3abe986df7ebc80a8950333 # v1.5
2222
with:
2323
project-slug: "python-docs-theme-previews"
2424
single-version: "true"

.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/pypi-package.yml

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

2222
steps:
23-
- uses: actions/checkout@v6
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
persist-credentials: false
26-
- uses: actions/setup-python@v6
26+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2727

2828
- name: Compile translations
2929
run: |
3030
pip install --upgrade pip
3131
pip install -r requirements.txt
3232
python babel_runner.py compile
3333
34-
- uses: hynek/build-and-inspect-python-package@v2
34+
- uses: hynek/build-and-inspect-python-package@fe0a0fb1925ca263d076ca4f2c13e93a6e92a33e # v2.17.0
3535

3636
# Upload to real PyPI on GitHub Releases.
3737
release-pypi:
@@ -49,10 +49,10 @@ jobs:
4949

5050
steps:
5151
- name: Download packages built by build-and-inspect-python-package
52-
uses: actions/download-artifact@v8
52+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
5353
with:
5454
name: Packages
5555
path: dist
5656

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

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
- python-version: "3.15"
2020
branch: "main"
2121
steps:
22-
- uses: actions/checkout@v6
22+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
persist-credentials: false
25-
- uses: actions/setup-python@v6
25+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
allow-prereleases: true
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
cat ./logs/docsbuild.log
5454
- name: Upload
55-
uses: actions/upload-artifact@v7
55+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
5656
with:
5757
name: doc-html-${{ matrix.python-version }}
5858
path: www/
@@ -66,10 +66,10 @@ jobs:
6666
# Test minimum supported and latest stable from 3.x series
6767
python-version: ["3.12", "3"]
6868
steps:
69-
- uses: actions/checkout@v6
69+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7070
with:
7171
persist-credentials: false
72-
- uses: actions/setup-python@v6
72+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
7373
with:
7474
python-version: ${{ matrix.python-version }}
7575
allow-prereleases: true

.github/zizmor.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
# Configuration for the zizmor static analysis tool, run via pre-commit in CI
2-
# https://woodruffw.github.io/zizmor/configuration/
2+
# https://docs.zizmor.sh/configuration/
33
rules:
44
dangerous-triggers:
55
ignore:
66
- documentation-links.yml
7-
unpinned-uses:
8-
config:
9-
policies:
10-
"*": ref-pin

0 commit comments

Comments
 (0)