Skip to content

Commit 192bd5c

Browse files
gha: pin all actions to shas (#982)
1 parent f15b4f2 commit 192bd5c

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/build-docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
id-token: write
1818
pages: write
1919
steps:
20-
- uses: actions/checkout@v5
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

2222
- name: Install uv
23-
uses: astral-sh/setup-uv@v6
23+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
2424
with:
2525
python-version: "3.10"
2626

@@ -33,14 +33,14 @@ jobs:
3333
working-directory: ./doc
3434

3535
- name: Upload artifacts
36-
uses: actions/upload-artifact@v4
36+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3737
with:
3838
name: html-docs
3939
path: ./doc/html/
4040

4141
- name: Deploy Master Docs to GitHub Pages
4242
if: ${{ github.ref == 'refs/heads/master' }}
43-
uses: peaceiris/actions-gh-pages@v4
43+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
4444
with:
4545
github_token: ${{ secrets.GITHUB_TOKEN }}
4646
publish_dir: ./doc/html

.github/workflows/python-package.yml

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

2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v5
30+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131

3232
- name: Install uv
33-
uses: astral-sh/setup-uv@v6
33+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
3434
with:
3535
python-version: ${{ matrix.python-version }}
3636

@@ -54,7 +54,7 @@ jobs:
5454

5555
steps:
5656
- name: Harden Runner
57-
uses: step-security/[email protected]
57+
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
5858
with:
5959
egress-policy: audit
6060
allowed-endpoints: >
@@ -78,18 +78,18 @@ jobs:
7878
updates.jenkins.io:80
7979
8080
- name: Checkout
81-
uses: actions/checkout@v5
81+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8282

8383
- name: Install uv
84-
uses: astral-sh/setup-uv@v6
84+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
8585
with:
8686
python-version: ${{ matrix.python-version }}
8787

8888
- name: Install python
8989
run: uv python install
9090

9191
- name: setup java 21
92-
uses: actions/setup-java@v5
92+
uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 # v5.0.0
9393
with:
9494
java-version: '21'
9595
distribution: 'temurin'

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v5
15+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1616

1717
- name: Install uv
18-
uses: astral-sh/setup-uv@v6
18+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
1919
with:
2020
python-version: "3.13"
2121

@@ -30,7 +30,7 @@ jobs:
3030
run: uv build
3131

3232
- name: Upload artifact
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3434
with:
3535
name: package
3636
path: dist/
@@ -48,7 +48,7 @@ jobs:
4848
url: https://pypi.org/project/jenkinsapi/
4949
steps:
5050
- name: Download artifact
51-
uses: actions/download-artifact@v5
51+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
5252
with:
5353
name: package
5454
path: dist
@@ -57,7 +57,7 @@ jobs:
5757
run: tree
5858

5959
- name: Publish
60-
uses: pypa/gh-action-pypi-publish@release/v1
60+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
6161

6262
asset:
6363
needs: [build]
@@ -66,7 +66,7 @@ jobs:
6666
contents: write
6767
steps:
6868
- name: Download artifact
69-
uses: actions/download-artifact@v5
69+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
7070
with:
7171
name: package
7272
path: dist

0 commit comments

Comments
 (0)