Skip to content

Commit 8369092

Browse files
committed
Pinning versions of external actions.
1 parent 1bc171e commit 8369092

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
name: Python Release Build
1919

20+
permissions:
21+
contents: read
22+
2023
concurrency:
2124
group: ${{ github.repository }}-${{ github.head_ref || github.sha }}-${{ github.workflow }}
2225
cancel-in-progress: true
@@ -49,7 +52,7 @@ jobs:
4952
- uses: dtolnay/rust-toolchain@stable
5053

5154
- name: Install Protoc
52-
uses: arduino/setup-protoc@v3
55+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
5356
with:
5457
version: "27.4"
5558
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -121,7 +124,7 @@ jobs:
121124
with:
122125
python-version: ${{ matrix.python-version }}
123126

124-
- uses: dtolnay/rust-toolchain@stable
127+
- uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
125128

126129
- run: rm LICENSE.txt
127130
- name: Download LICENSE.txt
@@ -131,7 +134,7 @@ jobs:
131134
path: .
132135

133136
- name: Install Protoc
134-
uses: arduino/setup-protoc@v3
137+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
135138
with:
136139
version: "27.4"
137140
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -188,7 +191,7 @@ jobs:
188191
path: .
189192

190193
- name: Install Protoc
191-
uses: arduino/setup-protoc@v3
194+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
192195
with:
193196
version: "27.4"
194197
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -231,7 +234,7 @@ jobs:
231234
- run: cat LICENSE.txt
232235

233236
- name: Install Protoc
234-
uses: arduino/setup-protoc@v3
237+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
235238
with:
236239
version: "27.4"
237240
repo-token: ${{ secrets.GITHUB_TOKEN }}
@@ -259,7 +262,7 @@ jobs:
259262
steps:
260263
- uses: actions/checkout@v5
261264

262-
- uses: dtolnay/rust-toolchain@stable
265+
- uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
263266

264267
- run: rm LICENSE.txt
265268
- name: Download LICENSE.txt
@@ -271,12 +274,12 @@ jobs:
271274
- run: cat LICENSE.txt
272275

273276
- name: Install Protoc
274-
uses: arduino/setup-protoc@v3
277+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
275278
with:
276279
version: "27.4"
277280
repo-token: ${{ secrets.GITHUB_TOKEN }}
278281

279-
- uses: astral-sh/setup-uv@v6
282+
- uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
280283
with:
281284
enable-cache: true
282285

@@ -299,7 +302,7 @@ jobs:
299302
steps:
300303
- uses: actions/checkout@v5
301304

302-
- uses: dtolnay/rust-toolchain@stable
305+
- uses: dtolnay/rust-toolchain@5d458579430fc14a04a08a1e7d3694f545e91ce6 # stable
303306

304307
- run: rm LICENSE.txt
305308
- name: Download LICENSE.txt
@@ -311,12 +314,12 @@ jobs:
311314
- run: cat LICENSE.txt
312315

313316
- name: Install Protoc
314-
uses: arduino/setup-protoc@v3
317+
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0
315318
with:
316319
version: "27.4"
317320
repo-token: ${{ secrets.GITHUB_TOKEN }}
318321

319-
- uses: astral-sh/setup-uv@v6
322+
- uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
320323
with:
321324
enable-cache: true
322325

0 commit comments

Comments
 (0)