Skip to content

Commit 371a83c

Browse files
authored
workflows: hash-pin all workflows (#40)
1 parent 3f5fa03 commit 371a83c

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1313

14-
- uses: actions/setup-python@v5
14+
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
1515
with:
1616
python-version-file: pyproject.toml
1717
cache: "pip"
@@ -26,7 +26,7 @@ jobs:
2626
make doc
2727
2828
- name: upload docs artifact
29-
uses: actions/upload-pages-artifact@v3
29+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
3030
with:
3131
path: ./html/
3232

@@ -42,4 +42,4 @@ jobs:
4242
url: ${{ steps.deployment.outputs.page_url }}
4343
steps:
4444
- id: deployment
45-
uses: actions/deploy-pages@v4
45+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1414

15-
- uses: actions/setup-python@v5
15+
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
1616
with:
1717
python-version-file: pyproject.toml
1818
cache: "pip"

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
name: upload release to PyPI
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
1919

20-
- uses: actions/setup-python@v5
20+
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
2121
with:
2222
python-version-file: pyproject.toml
2323
cache: "pip"
@@ -33,7 +33,7 @@ jobs:
3333
uses: pypa/gh-action-pypi-publish@release/v1
3434

3535
- name: attest
36-
uses: actions/attest@v1
36+
uses: actions/attest@c578ab5e377a70e30e1411d16a0eba675e5dc2e9 # v1
3737
with:
3838
subject-path: |
3939
./dist/*.tar.gz

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
permissions:
1818
id-token: write # unit tests use the ambient OIDC credential
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
2121

22-
- uses: actions/setup-python@v5
22+
- uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5
2323
with:
2424
python-version: ${{ matrix.python }}
2525
cache: "pip"

0 commit comments

Comments
 (0)