Skip to content

Commit aaca60c

Browse files
committed
update actions to full commit sha with semvar comment
Update all actions to full commit sha of latest tag to mitigate supply chain attacks. This was done using renovate but dependabot should be able to maintain the updates in the same format once it's converted.
1 parent becfd19 commit aaca60c

File tree

8 files changed

+31
-31
lines changed

8 files changed

+31
-31
lines changed

.github/workflows/ci_file_health.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ jobs:
1616
security-events: write
1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2020
with:
2121
persist-credentials: false
2222

2323
- name: Setup python
24-
uses: actions/setup-python@v5
24+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2525
with:
2626
python-version: "*"
2727

2828
- name: Check files
29-
uses: pre-commit/[email protected]
29+
uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
3030

3131
- name: Check doc
3232
env:
@@ -65,7 +65,7 @@ jobs:
6565
> "${{ runner.temp }}/zizmor_results.sarif"
6666
6767
- name: Upload zizmor results
68-
uses: github/codeql-action/upload-sarif@v3
68+
uses: github/codeql-action/upload-sarif@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
6969
with:
7070
category: zizmor
7171
sarif_file: "${{ runner.temp }}/zizmor_results.sarif"

.github/workflows/ci_macos.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3232
with:
3333
persist-credentials: false
3434

3535
- name: Install dependencies
36-
uses: Wandalen/wretry.action@v3
36+
uses: Wandalen/wretry.action@e68c23e6309f2871ca8ae4763e7629b9c258e1ea # v3.8.0
3737
env:
3838
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
3939
HOMEBREW_NO_INSTALL_CLEANUP: 1
@@ -47,7 +47,7 @@ jobs:
4747
# preinstalled on the image: cmake ninja
4848
4949
- name: Setup ccache
50-
uses: Chocobo1/setup-ccache-action@v1
50+
uses: Chocobo1/setup-ccache-action@830b194e8e70c39cb5c4dbe3e937cf774e61e433 # v1.4.9
5151
with:
5252
store_cache: ${{ github.ref == 'refs/heads/master' }}
5353
update_packager_index: false
@@ -75,7 +75,7 @@ jobs:
7575
./b2 stage --stagedir=./ --with-headers
7676
7777
- name: Install Qt
78-
uses: jurplel/install-qt-action@v4
78+
uses: jurplel/install-qt-action@d325aaf2a8baeeda41ad0b5d39f84a6af9bcf005 # v4.3.0
7979
with:
8080
version: ${{ matrix.qt_version }}
8181
archives: qtbase qtdeclarative qtsvg qttools
@@ -156,7 +156,7 @@ jobs:
156156
cp ${{ env.libtorrent_path }}/build/compile_commands.json upload/cmake/libtorrent
157157
158158
- name: Upload build artifacts
159-
uses: actions/upload-artifact@v4
159+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
160160
with:
161161
name: qBittorrent-CI_macOS_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }}_Qt-${{ matrix.qt_version }}
162162
path: upload

.github/workflows/ci_python.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ jobs:
1515

1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
1919
with:
2020
persist-credentials: false
2121

2222
- name: Setup python (auxiliary scripts)
23-
uses: actions/setup-python@v5
23+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2424
with:
2525
python-version: '3' # use default version
2626

@@ -54,7 +54,7 @@ jobs:
5454
python -m compileall $PY_FILES
5555
5656
- name: Setup python (search engine)
57-
uses: actions/setup-python@v5
57+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5858
with:
5959
python-version: '3.9'
6060

.github/workflows/ci_ubuntu.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3434
with:
3535
persist-credentials: false
3636

@@ -42,7 +42,7 @@ jobs:
4242
libssl-dev libxkbcommon-x11-dev libxcb-cursor-dev zlib1g-dev
4343
4444
- name: Setup ccache
45-
uses: Chocobo1/setup-ccache-action@v1
45+
uses: Chocobo1/setup-ccache-action@830b194e8e70c39cb5c4dbe3e937cf774e61e433 # v1.4.9
4646
with:
4747
store_cache: ${{ github.ref == 'refs/heads/master' }}
4848
update_packager_index: false
@@ -70,7 +70,7 @@ jobs:
7070
./b2 stage --stagedir=./ --with-headers
7171
7272
- name: Install Qt
73-
uses: jurplel/install-qt-action@v4
73+
uses: jurplel/install-qt-action@d325aaf2a8baeeda41ad0b5d39f84a6af9bcf005 # v4.3.0
7474
with:
7575
version: ${{ matrix.qt_version }}
7676
archives: icu qtbase qtdeclarative qtsvg qttools
@@ -100,7 +100,7 @@ jobs:
100100
101101
# to avoid scanning 3rdparty codebases, initialize it just before building qbt
102102
- name: Initialize CodeQL
103-
uses: github/codeql-action/init@v3
103+
uses: github/codeql-action/init@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
104104
if: startsWith(matrix.libt_version, 2) && (matrix.qbt_gui == 'GUI=ON')
105105
with:
106106
config-file: ./.github/workflows/helper/codeql/cpp.yaml
@@ -126,7 +126,7 @@ jobs:
126126
DESTDIR="qbittorrent" cmake --install build
127127
128128
- name: Run CodeQL analysis
129-
uses: github/codeql-action/analyze@v3
129+
uses: github/codeql-action/analyze@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
130130
if: startsWith(matrix.libt_version, 2) && (matrix.qbt_gui == 'GUI=ON')
131131
with:
132132
category: ${{ github.base_ref || github.ref_name }}
@@ -171,7 +171,7 @@ jobs:
171171
./linuxdeploy-x86_64.AppImage --appdir qbittorrent --output appimage
172172
173173
- name: Upload build artifacts
174-
uses: actions/upload-artifact@v4
174+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
175175
with:
176176
name: qBittorrent-CI_Ubuntu-x64_${{ matrix.qbt_gui }}_libtorrent-${{ matrix.libt_version }}_Qt-${{ matrix.qt_version }}
177177
path: upload

.github/workflows/ci_webui.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ jobs:
2121

2222
steps:
2323
- name: Checkout repository
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2525
with:
2626
persist-credentials: false
2727

2828
- name: Setup nodejs
29-
uses: actions/setup-node@v4
29+
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
3030
with:
3131
node-version: 'lts/*'
3232

@@ -50,10 +50,10 @@ jobs:
5050
git diff --exit-code
5151
5252
- name: Initialize CodeQL
53-
uses: github/codeql-action/init@v3
53+
uses: github/codeql-action/init@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
5454
with:
5555
config-file: .github/workflows/helper/codeql/js.yaml
5656
languages: javascript
5757

5858
- name: Run CodeQL analysis
59-
uses: github/codeql-action/analyze@v3
59+
uses: github/codeql-action/analyze@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0

.github/workflows/ci_windows.yaml

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

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
3131
with:
3232
persist-credentials: false
3333

3434
- name: Setup devcmd
35-
uses: ilammy/msvc-dev-cmd@v1
35+
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
3636

3737
- name: Install build tools
3838
run: |
@@ -45,7 +45,7 @@ jobs:
4545
4646
# https://learn.microsoft.com/en-us/vcpkg/users/binarycaching#gha
4747
- name: Set variables for vcpkg
48-
uses: actions/github-script@v7
48+
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
4949
with:
5050
script: |
5151
core.exportVariable('ACTIONS_CACHE_URL', (process.env.ACTIONS_CACHE_URL || ''));
@@ -104,7 +104,7 @@ jobs:
104104
--with-headers
105105
106106
- name: Install Qt
107-
uses: jurplel/install-qt-action@v4
107+
uses: jurplel/install-qt-action@d325aaf2a8baeeda41ad0b5d39f84a6af9bcf005 # v4.3.0
108108
with:
109109
version: "6.9.1"
110110
arch: win64_msvc2022_64
@@ -194,7 +194,7 @@ jobs:
194194
copy ${{ env.libtorrent_path }}/build/compile_commands.json upload/cmake/libtorrent
195195
196196
- name: Upload build artifacts
197-
uses: actions/upload-artifact@v4
197+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
198198
with:
199199
name: qBittorrent-CI_Windows-x64_libtorrent-${{ matrix.libt_version }}
200200
path: upload
@@ -205,7 +205,7 @@ jobs:
205205
makensis /DQBT_DIST_DIR="../../upload/qBittorrent" /WX dist/windows/qbittorrent.nsi
206206
207207
- name: Upload installer
208-
uses: actions/upload-artifact@v4
208+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
209209
with:
210210
name: qBittorrent-CI_Windows-x64_libtorrent-${{ matrix.libt_version }}-setup
211211
path: dist/windows/qbittorrent_*_setup.exe

.github/workflows/coverity-scan.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
2929
with:
3030
persist-credentials: false
3131

@@ -57,7 +57,7 @@ jobs:
5757
./b2 stage --stagedir=./ --with-headers
5858
5959
- name: Install Qt
60-
uses: jurplel/install-qt-action@v4
60+
uses: jurplel/install-qt-action@d325aaf2a8baeeda41ad0b5d39f84a6af9bcf005 # v4.3.0
6161
with:
6262
version: ${{ matrix.qt_version }}
6363
archives: icu qtbase qtdeclarative qtsvg qttools

.github/workflows/stale_bot.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
pull-requests: write
1414
steps:
1515
- name: Mark and close stale PRs
16-
uses: actions/stale@v9
16+
uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
1717
with:
1818
stale-pr-message: "This PR is stale because it has been 60 days with no activity. This PR will be automatically closed within 7 days if there is no further activity."
1919
close-pr-message: "This PR was closed because it has been stalled for some time with no activity."

0 commit comments

Comments
 (0)