Skip to content

Commit 1159bc8

Browse files
authored
Merge pull request #13268 from RytoEX/pin-github-actions
CI: Pin GitHub actions
2 parents b8ab531 + eee8129 commit 1159bc8

14 files changed

Lines changed: 66 additions & 66 deletions

File tree

.github/actions/generate-docs/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ runs:
6666
target_branch: master
6767
target_path: '../home/_build'
6868

69-
- uses: actions/upload-artifact@v4
69+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
7070
with:
7171
name: ${{ steps.setup.outputs.artifactName }} ${{ steps.setup.outputs.commitHash }}
7272
path: |

.github/actions/services-validator/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ runs:
8888

8989
- name: Restore Timestamp Cache ⏳
9090
if: fromJSON(inputs.runServiceChecks)
91-
uses: actions/cache@v4
91+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
9292
with:
9393
path: ${{ github.workspace }}/other
9494
key: service-check-${{ github.run_id }}
@@ -111,7 +111,7 @@ runs:
111111
source .venv/bin/activate
112112
python3 -u .github/scripts/utils.py/check-services.py
113113
114-
- uses: actions/upload-artifact@v4
114+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
115115
if: fromJSON(inputs.runServiceChecks)
116116
with:
117117
name: timestamps

.github/actions/steam-upload/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ runs:
7070
7171
- name: Download Nightly Assets 🌙
7272
id: asset-info-nightly
73-
uses: actions/download-artifact@v4
73+
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
7474
if: github.event_name == 'schedule'
7575

7676
- name: Download Assets 📥
@@ -285,7 +285,7 @@ runs:
285285
popd
286286
287287
- name: Upload Steam build logs
288-
uses: actions/upload-artifact@v4
288+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
289289
with:
290290
name: steam-build-logs
291291
path: ${{ github.workspace }}/steam/build/*.log

.github/actions/windows-analysis/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ runs:
7676
Invoke-External "C:\Program Files (x86)\PVS-Studio\PlogConverter.exe" @conversionParams
7777
7878
- name: Upload PVS-Studio Logs
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
8080
with:
8181
name: 'pvs-analysis-log'
8282
path: |
8383
${{ github.workspace }}/analysis.plog
8484
${{ github.workspace }}/analysis.plog.sarif
8585
8686
- name: Upload PVS-Studio Report
87-
uses: github/codeql-action/upload-sarif@v3
87+
uses: github/codeql-action/upload-sarif@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3
8888
with:
8989
sarif_file: "${{ github.workspace }}/analysis.plog.sarif"
9090
category: 'PVS-Studio (Windows)'

.github/actions/windows-patches/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ inputs:
2525
runs:
2626
using: composite
2727
steps:
28-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
2929
with:
3030
path: "repo"
3131
fetch-depth: 0
@@ -113,7 +113,7 @@ runs:
113113
Invoke-External "${{ github.workspace }}\bouf\bin\bouf.exe" @boufArgs
114114
115115
- name: Upload Outputs
116-
uses: actions/upload-artifact@v4
116+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
117117
with:
118118
name: windows-updater-files
119119
compression-level: 0

.github/workflows/analyze-project.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
run:
1111
shell: pwsh
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
1414
with:
1515
submodules: recursive
1616
fetch-depth: 0
@@ -46,7 +46,7 @@ jobs:
4646
run:
4747
shell: zsh --no-rcs --errexit --pipefail {0}
4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
5050
with:
5151
submodules: recursive
5252
fetch-depth: 0
@@ -129,7 +129,7 @@ jobs:
129129
popd
130130
131131
- name: Upload SARIF report files 📦
132-
uses: github/codeql-action/upload-sarif@v3
132+
uses: github/codeql-action/upload-sarif@ebcb5b36ded6beda4ceefea6a8bc4cc885255bb3
133133
with:
134134
sarif_file: "${{ github.workspace }}/analytics/merged.sarif"
135135
category: 'clang-analyze (macOS Apple Silicon)'

.github/workflows/build-project.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
config: ${{ steps.setup.outputs.config }}
1616
commitHash: ${{ steps.setup.outputs.commitHash }}
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
1919
with:
2020
fetch-depth: 0
2121
- name: Check Event Data ☑️
@@ -69,7 +69,7 @@ jobs:
6969
run:
7070
shell: zsh --no-rcs --errexit --pipefail {0}
7171
steps:
72-
- uses: actions/checkout@v4
72+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
7373
with:
7474
submodules: recursive
7575
fetch-depth: 0
@@ -103,7 +103,7 @@ jobs:
103103
104104
print "xcodeCasPath=${xcode_cas_path}" >> $GITHUB_OUTPUT
105105
106-
- uses: actions/cache/restore@v4
106+
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830
107107
id: xcode-cache
108108
with:
109109
path: ${{ steps.setup.outputs.xcodeCasPath }}
@@ -157,19 +157,19 @@ jobs:
157157
codesignPass: ${{ secrets.MACOS_NOTARIZATION_PASSWORD }}
158158

159159
- name: Upload Artifacts 📡
160-
uses: actions/upload-artifact@v4
160+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
161161
with:
162162
name: obs-studio-macos-${{ matrix.target }}-${{ needs.check-event.outputs.commitHash }}
163163
path: ${{ github.workspace }}/build_macos/obs-studio-*-macos-${{ steps.setup.outputs.cpuName }}.*
164164

165165
- name: Upload Debug Symbol Artifacts 🪲
166-
uses: actions/upload-artifact@v4
166+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
167167
if: ${{ needs.check-event.outputs.config == 'Release' }}
168168
with:
169169
name: obs-studio-macos-${{ matrix.target }}-${{ needs.check-event.outputs.commitHash }}-dSYMs
170170
path: ${{ github.workspace }}/build_macos/obs-studio-*-macos-${{ steps.setup.outputs.cpuName }}-dSYMs.tar.xz
171171

172-
- uses: actions/cache/save@v4
172+
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830
173173
if: github.event_name != 'pull_request' && steps.xcode-cache.outputs.cache-hit != 'true'
174174
with:
175175
path: ${{ steps.setup.outputs.xcodeCasPath }}
@@ -186,12 +186,12 @@ jobs:
186186
run:
187187
shell: bash
188188
steps:
189-
- uses: actions/checkout@v4
189+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
190190
with:
191191
submodules: recursive
192192
fetch-depth: 0
193193

194-
- uses: actions/cache/restore@v4
194+
- uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830
195195
id: ccache-cache
196196
with:
197197
path: ${{ github.workspace }}/.ccache
@@ -222,25 +222,25 @@ jobs:
222222
package: ${{ fromJSON(needs.check-event.outputs.package) }}
223223

224224
- name: Upload Source Tarball 🗜️
225-
uses: actions/upload-artifact@v4
225+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
226226
with:
227227
name: obs-studio-${{ matrix.os }}-sources-${{ needs.check-event.outputs.commitHash }}
228228
path: ${{ github.workspace }}/build_ubuntu/obs-studio-*-sources.*
229229

230230
- name: Upload Artifacts 📡
231-
uses: actions/upload-artifact@v4
231+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
232232
with:
233233
name: obs-studio-${{ matrix.os }}-x86_64-${{ needs.check-event.outputs.commitHash }}
234234
path: ${{ github.workspace }}/build_ubuntu/obs-studio-*-x86_64-ubuntu-gnu.*
235235

236236
- name: Upload Debug Symbol Artifacts 🪲
237-
uses: actions/upload-artifact@v4
237+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
238238
if: ${{ fromJSON(needs.check-event.outputs.package) }}
239239
with:
240240
name: obs-studio-${{ matrix.os }}-x86_64-${{ needs.check-event.outputs.commitHash }}-dbgsym
241241
path: ${{ github.workspace }}/build_ubuntu/obs-studio-*-x86_64-ubuntu-gnu-dbgsym.ddeb
242242

243-
- uses: actions/cache/save@v4
243+
- uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830
244244
if: github.event_name != 'pull_request' && steps.ccache-cache.outputs.cache-hit != 'true'
245245
with:
246246
path: ${{ github.workspace }}/.ccache
@@ -303,7 +303,7 @@ jobs:
303303
df -h
304304
echo ::endgroup::
305305
306-
- uses: actions/checkout@v4
306+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
307307
with:
308308
submodules: recursive
309309
fetch-depth: 0
@@ -385,7 +385,7 @@ jobs:
385385
run:
386386
shell: pwsh
387387
steps:
388-
- uses: actions/checkout@v4
388+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
389389
with:
390390
submodules: recursive
391391
fetch-depth: 0
@@ -414,7 +414,7 @@ jobs:
414414
package: ${{ fromJSON(needs.check-event.outputs.package) }}
415415

416416
- name: Upload Artifacts 📡
417-
uses: actions/upload-artifact@v4
417+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02
418418
with:
419419
name: obs-studio-windows-${{ matrix.architecture }}-${{ needs.check-event.outputs.commitHash }}
420420
path: ${{ github.workspace }}/build_${{ matrix.architecture }}/obs-studio-*-windows-${{ matrix.architecture }}.zip

.github/workflows/check-format.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
clang-format:
66
runs-on: ubuntu-24.04
77
steps:
8-
- uses: actions/checkout@v4
8+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
99
with:
1010
fetch-depth: 0
1111
- name: clang-format Check 🐉
@@ -17,7 +17,7 @@ jobs:
1717
swift-format:
1818
runs-on: macos-15
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
2121
with:
2222
fetch-depth: 0
2323
- name: swift-format Check 🔥
@@ -29,7 +29,7 @@ jobs:
2929
gersemi:
3030
runs-on: ubuntu-24.04
3131
steps:
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
3333
with:
3434
fetch-depth: 0
3535
- name: gersemi Check 🎛️
@@ -41,7 +41,7 @@ jobs:
4141
flatpak-validator:
4242
runs-on: ubuntu-24.04
4343
steps:
44-
- uses: actions/checkout@v4
44+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
4545
with:
4646
fetch-depth: 0
4747
- name: Flatpak Manifest Check 📦
@@ -53,7 +53,7 @@ jobs:
5353
qt-xml-validator:
5454
runs-on: ubuntu-24.04
5555
steps:
56-
- uses: actions/checkout@v4
56+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
5757
with:
5858
fetch-depth: 0
5959
- name: Qt XML Check 🖼️

.github/workflows/dispatch.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
contents: write
4646
pull-requests: write
4747
steps:
48-
- uses: actions/checkout@v4
48+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
4949
- name: Check for Defunct Services 📉
5050
uses: ./.github/actions/services-validator
5151
with:
@@ -63,7 +63,7 @@ jobs:
6363
env:
6464
CROWDIN_PAT: ${{ secrets.CROWDIN_SYNC_CROWDIN_PAT }}
6565
steps:
66-
- uses: actions/checkout@v4
66+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
6767
with:
6868
submodules: recursive
6969
token: ${{ secrets.CROWDIN_SYNC_GITHUB_PAT }}
@@ -75,7 +75,7 @@ jobs:
7575
if: github.repository_owner == 'obsproject' && inputs.job == 'steam'
7676
runs-on: macos-15
7777
steps:
78-
- uses: actions/checkout@v4
78+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
7979
- uses: ./.github/actions/steam-upload
8080
with:
8181
steamSecret: ${{ secrets.STEAM_SHARED_SECRET }}
@@ -93,15 +93,15 @@ jobs:
9393
if: github.repository_owner == 'obsproject' && inputs.job == 'documentation'
9494
runs-on: ubuntu-24.04
9595
steps:
96-
- uses: actions/checkout@v4
96+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
9797
- uses: ./.github/actions/generate-docs
9898

9999
update-documentation-cloudflare:
100100
name: Update Documentation for Cloudflare ☁️
101101
if: github.repository_owner == 'obsproject' && inputs.job == 'documentation'
102102
runs-on: ubuntu-24.04
103103
steps:
104-
- uses: actions/checkout@v4
104+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
105105
- uses: ./.github/actions/generate-docs
106106
with:
107107
disableLinkExtensions: true
@@ -123,7 +123,7 @@ jobs:
123123
: Get Commit Hash 🆔
124124
echo "commitHash=${GITHUB_SHA:0:9}" >> $GITHUB_OUTPUT
125125
126-
- uses: actions/download-artifact@v4
126+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093
127127
with:
128128
name: OBS Studio Docs (No Extensions) ${{ steps.setup.outputs.commitHash }}
129129
path: docs
@@ -141,7 +141,7 @@ jobs:
141141
if: github.repository_owner == 'obsproject' && inputs.job == 'patches'
142142
runs-on: windows-2022
143143
steps:
144-
- uses: actions/checkout@v4
144+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
145145
- uses: ./.github/actions/windows-patches
146146
with:
147147
tagName: ${{ inputs.ref }}

.github/workflows/pr-pull.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
permissions:
3434
checks: write
3535
steps:
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
3737
with:
3838
fetch-depth: 0
3939

@@ -55,7 +55,7 @@ jobs:
5555
permissions:
5656
checks: write
5757
steps:
58-
- uses: actions/checkout@v4
58+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
5959
with:
6060
fetch-depth: 0
6161

@@ -79,7 +79,7 @@ jobs:
7979
if: github.repository_owner == 'obsproject' && github.base_ref == 'master'
8080
runs-on: ubuntu-24.04
8181
steps:
82-
- uses: actions/checkout@v4
82+
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
8383
with:
8484
fetch-depth: 0
8585

0 commit comments

Comments
 (0)