GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Pin github actions to reduce risk (#17043) · netty/netty@da22048

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci-deploy.yml
    • ci-release-4.2.yml
    • ci-release-5.yml
    • ci-release.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci-deploy.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci-deploy.yml
+52-26Lines changed: 52 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ jobs:
5454

5555
name: stage-snapshot-${{ matrix.setup }}
5656
steps:
57-
- uses: actions/checkout@v4
57+
# Pinned to v4.3.1
58+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
5859

5960
# Cache .m2/repository
61+
# Pinned to v4.3.0
6062
- name: Cache local Maven repository
61-
uses: actions/cache@v4
63+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
6264
continue-on-error: true
6365
with:
6466
path: ~/.m2/repository
@@ -76,8 +78,9 @@ jobs:
7678
- name: Stage snapshots to local staging directory
7779
run: docker compose ${{ matrix.docker-compose-run }}
7880

81+
# Pinned to v4.6.2
7982
- name: Upload local staging directory
80-
uses: actions/upload-artifact@v4
83+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
8184
with:
8285
name: ${{ matrix.setup }}-local-staging
8386
path: ~/local-staging
@@ -98,17 +101,20 @@ jobs:
98101
name: ${{ matrix.setup }} build
99102

100103
steps:
101-
- uses: actions/checkout@v4
104+
# Pinned to v4.3.1
105+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
102106

107+
# Pinned to v4.8.0
103108
- name: Set up JDK 11
104-
uses: actions/setup-java@v4
109+
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
105110
with:
106111
distribution: 'zulu'
107112
java-version: '11'
108113

109114
# Cache .m2/repository
110-
# Caching of maven dependencies
111-
- uses: actions/cache@v4
115+
# Pinned to v4.3.0
116+
- name: Cache local Maven repository
117+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
112118
continue-on-error: true
113119
with:
114120
path: ~/.m2/repository
@@ -126,8 +132,9 @@ jobs:
126132
- name: Stage snapshots to local staging directory
127133
run: ./mvnw -B -ntp clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DskipRemoteStaging=true -DaltStagingDirectory=$HOME/local-staging -DskipTests=true
128134

135+
# Pinned to v4.6.2
129136
- name: Upload local staging directory
130-
uses: actions/upload-artifact@v4
137+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
131138
with:
132139
name: ${{ matrix.setup }}-local-staging
133140
path: ~/local-staging
@@ -142,17 +149,20 @@ jobs:
142149
# failures sometimes due the fact that not enough memory could be reserved.
143150
RUSTUP_UNPACK_RAM: 134217728 # Use 128 MiB
144151
steps:
145-
- uses: actions/checkout@v4
152+
# Pinned to v4.3.1
153+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
146154

155+
# Pinned to v4.8.0
147156
- name: Set up JDK 11
148-
uses: actions/setup-java@v4
157+
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
149158
with:
150159
distribution: 'zulu'
151160
java-version: 11
152161

153162
# Cache .m2/repository
163+
# Pinned to v4.3.0
154164
- name: Cache local Maven repository
155-
uses: actions/cache@v4
165+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
156166
continue-on-error: true
157167
with:
158168
path: ~/.m2/repository
@@ -161,29 +171,34 @@ jobs:
161171
cache-windows-maven-${{ hashFiles('**/pom.xml') }}
162172
cache-windows-maven-
163173
174+
# Pinned to 1.71.0
164175
- name: Install stable rust toolchain
165-
uses: dtolnay/rust-toolchain@stable
176+
uses: dtolnay/rust-toolchain@d36bfec312c4a8e1f20b70b99cdd6f73b7366bd0
166177
with:
167178
targets: x86_64-pc-windows-msvc
168179

180+
# Pinned to v2
169181
- name: Add msbuild to PATH
170-
uses: microsoft/setup-msbuild@v2
182+
uses: microsoft/setup-msbuild@6fb02220983dee41ce7ae257b6f4d8f9bf5ed4ce
171183

184+
# Pinned to v1.13.0
172185
- name: Configuring Developer Command Prompt
173-
uses: ilammy/msvc-dev-cmd@v1
186+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756
174187
with:
175188
arch: x86_amd64
176189

190+
# Pinned to v3.4.0
177191
- name: Install tools
178-
uses: crazy-max/ghaction-chocolatey@v3
192+
uses: crazy-max/ghaction-chocolatey@2526f467ccbd337d307fe179959cabbeca0bc8c0
179193
with:
180194
args: install ninja nasm
181195

182196
- name: Stage snapshots to local staging directory
183197
run: ./mvnw.cmd -B -ntp --file pom.xml clean package org.sonatype.plugins:nexus-staging-maven-plugin:deploy -DskipRemoteStaging=true -DaltStagingDirectory=/local-staging -DskipTests=true
184198

199+
# Pinned to v4.6.2
185200
- name: Upload local staging directory
186-
uses: actions/upload-artifact@v4
201+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
187202
with:
188203
name: windows-x86_64-local-staging
189204
path: /local-staging
@@ -195,17 +210,21 @@ jobs:
195210
# Wait until we have staged everything
196211
needs: [ stage-snapshot-linux, stage-snapshot-windows-x86_64, stage-snapshot-macos ]
197212
steps:
198-
- uses: actions/checkout@v4
213+
# Pinned to v4.3.0
214+
- name: Cache local Maven repository
215+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
199216

217+
# Pinned to v4.8.0
200218
- name: Set up JDK 11
201-
uses: actions/setup-java@v4
219+
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9
202220
with:
203221
distribution: 'zulu'
204222
java-version: '11'
205223

206224
# Cache .m2/repository
225+
# Pinned to v4.3.0
207226
- name: Cache local Maven repository
208-
uses: actions/cache@v4
227+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
209228
continue-on-error: true
210229
with:
211230
path: ~/.m2/repository
@@ -214,7 +233,8 @@ jobs:
214233
cache-maven-${{ hashFiles('**/pom.xml') }}
215234
cache-maven-
216235
217-
- uses: s4u/[email protected]
236+
# Pinned to v3.0.0
237+
- uses: s4u/maven-settings-action@7802f6aec16c9098b4798ad1f1d8ac75198194bd
218238
with:
219239
servers: |
220240
[{
@@ -225,38 +245,44 @@ jobs:
225245
226246
# Hardcode the staging artifacts that need to be downloaded.
227247
# These must match the matrix setups. There is currently no way to pull this out of the config.
248+
# Pinned to v4.3.0
228249
- name: Download windows_x86_64 staging directory
229-
uses: actions/download-artifact@v4
250+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
230251
with:
231252
name: windows-x86_64-local-staging
232253
path: ~/windows-x86_64-local-staging
233254

255+
# Pinned to v4.3.0
234256
- name: Download macos-aarch64-java11 staging directory
235-
uses: actions/download-artifact@v4
257+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
236258
with:
237259
name: macos-aarch64-java11-local-staging
238260
path: ~/macos-aarch64-java11-local-staging
239261

262+
# Pinned to v4.3.0
240263
- name: Download macos-x86_64-java11 staging directory
241-
uses: actions/download-artifact@v4
264+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
242265
with:
243266
name: macos-x86_64-java11-local-staging
244267
path: ~/macos-x86_64-java11-local-staging
245268

269+
# Pinned to v4.3.0
246270
- name: Download linux-aarch64 staging directory
247-
uses: actions/download-artifact@v4
271+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
248272
with:
249273
name: linux-aarch64-local-staging
250274
path: ~/linux-aarch64-local-staging
251275

276+
# Pinned to v4.3.0
252277
- name: Download linux-riscv64 staging directory
253-
uses: actions/download-artifact@v4
278+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
254279
with:
255280
name: linux-riscv64-local-staging
256281
path: ~/linux-riscv64-local-staging
257282

283+
# Pinned to v4.3.0
258284
- name: Download linux-x86_64-java11 staging directory
259-
uses: actions/download-artifact@v4
285+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
260286
with:
261287
name: linux-x86_64-java11-local-staging
262288
path: ~/linux-x86_64-java11-local-staging

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.