Skip to content

Commit 2430c1e

Browse files
authored
feat: pin missing deps + update (#783)
1 parent 37b4351 commit 2430c1e

10 files changed

Lines changed: 26 additions & 26 deletions

.github/workflows/accelerate_doc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
shell: bash -l {0}
1212

1313
steps:
14-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
14+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
1515
with:
1616
node-version: '20'
1717

@@ -27,7 +27,7 @@ jobs:
2727
ref: 16eb6d76bf987c7d8d877ce5152f2e29878eab37
2828

2929
- name: Install uv
30-
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4
30+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
3131
with:
3232
version: 'latest'
3333

.github/workflows/build_main_documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
path: notebooks
8888
token: ${{ secrets.token }}
8989

90-
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
90+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
9191
with:
9292
node-version: '20'
9393
cache-dependency-path: "kit/package-lock.json"
@@ -143,7 +143,7 @@ jobs:
143143
run: $ROOT_APT_GET install -y libgl1
144144

145145
- name: Install Rust
146-
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
146+
uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master 2026-03-27
147147
if: inputs.install_rust
148148
with:
149149
toolchain: stable

.github/workflows/build_pr_documentation.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ jobs:
7575
UV_HTTP_TIMEOUT: 900 # max 15min to install deps (shouldn't take more than 5min)
7676

7777
steps:
78-
- uses: actions/checkout@v4
78+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7979
with:
8080
repository: 'huggingface/doc-builder'
8181
path: doc-builder
8282
ref: ${{ inputs.doc_builder_revision }}
8383

84-
- uses: actions/checkout@v4
84+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
8585
with:
8686
repository: '${{ inputs.repo_owner }}/${{ inputs.package }}'
8787
path: ${{ inputs.package }}
@@ -97,7 +97,7 @@ jobs:
9797
git fetch https://github.com/$REPO_OWNER/$PACKAGE.git refs/pull/$PR_NUMBER/merge:refs/remotes/pull/$PR_NUMBER/merge
9898
git checkout refs/remotes/pull/$PR_NUMBER/merge
9999
100-
- uses: actions/setup-node@v4
100+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
101101
with:
102102
node-version: '20'
103103
cache-dependency-path: "kit/package-lock.json"
@@ -154,7 +154,7 @@ jobs:
154154
run: $ROOT_APT_GET install -y libgl1
155155

156156
- name: Install Rust
157-
uses: actions-rs/toolchain@v1
157+
uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master 2026-03-27
158158
if: inputs.install_rust
159159
with:
160160
toolchain: stable
@@ -252,7 +252,7 @@ jobs:
252252
echo ${{ inputs.commit_sha }} > ./build_dir/commit_sha
253253
echo ${{ inputs.pr_number }} > ./build_dir/pr_number
254254
255-
- uses: actions/upload-artifact@v4
255+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
256256
with:
257257
name: doc-build-artifact
258258
path: build_dir/

.github/workflows/bump-huggingface-js-packages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222

2323
- name: Set up Node.js
24-
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
24+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2525
with:
2626
node-version: "20"
2727

@@ -47,7 +47,7 @@ jobs:
4747
4848
- name: Create Pull Request
4949
if: steps.git-check.outputs.changed == 'true'
50-
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7
50+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
5151
with:
5252
path: .
5353
token: ${{ secrets.TOKEN_INFERENCE_SYNC_BOT_DOC_BUILDER }}

.github/workflows/delete_old_pr_documentations.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
delete_old_prs:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
- uses: denoland/setup-deno@v1
15+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16+
- uses: denoland/setup-deno@11b63cf76cfcafb4e43f97b6cad24d8e8438f62d # v1.5.2
1717
with:
1818
deno-version: v1.x
1919
- name: Install hf CLI

.github/workflows/lint-svelte-kit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
timeout-minutes: 10
1515

1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1818

19-
- uses: actions/setup-node@v4
19+
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
2020
with:
2121
node-version: "20"
2222

.github/workflows/populate_search_engine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020

2121
- name: Install uv
22-
uses: astral-sh/setup-uv@38f3f104447c67c051c4a08e39b64a148898af3a # v4
22+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2323
with:
2424
version: "latest"
2525

.github/workflows/quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ jobs:
66
quality:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v4
9+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1010
- name: Install uv
11-
uses: astral-sh/setup-uv@v4
11+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
1212
with:
1313
version: "latest"
1414
- name: Set up Python 3.10

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
fail-fast: false
1111
runs-on: ${{ matrix.os }}
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1414
- name: Install uv
15-
uses: astral-sh/setup-uv@v4
15+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
1616
with:
1717
version: "latest"
1818
- name: Set up Python 3.10

.github/workflows/upload_pr_documentation.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
hf sync "./$PACKAGE_NAME" "hf://buckets/hf-doc-build/doc-dev/$PACKAGE_NAME"
142142
143143
- name: Find doc comment
144-
uses: peter-evans/find-comment@a54c31d7fa095754bfef525c0c8e5e5674c4b4b1 # v2
144+
uses: peter-evans/find-comment@b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad # v4.0.0
145145
id: find_comment
146146
with:
147147
issue-number: ${{ steps.github-context.outputs.pr_number }}
@@ -165,23 +165,23 @@ jobs:
165165
- name: Create comment_bot token
166166
id: comment_bot_token
167167
if: steps.auth.outputs.method == 'github_app'
168-
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v2
168+
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
169169
with:
170170
app-id: ${{ secrets.comment_bot_app_id }}
171171
private-key: ${{ secrets.comment_bot_secret_pem }}
172172
repositories: ${{ github.event.repository.name }}
173173

174174
- name: Add doc comment if not present
175-
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2
175+
uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # v3.0.1
176176
if: steps.find_comment.outputs.comment-id == ''
177177
with:
178178
message: ${{ steps.doc-comment.outputs.message }}
179-
pr_number: ${{ steps.github-context.outputs.pr_number }}
180-
GITHUB_TOKEN: ${{ steps.auth.outputs.method == 'comment_bot_token' && secrets.comment_bot_token || steps.comment_bot_token.outputs.token }}
179+
pr-number: ${{ steps.github-context.outputs.pr_number }}
180+
github-token: ${{ steps.auth.outputs.method == 'comment_bot_token' && secrets.comment_bot_token || steps.comment_bot_token.outputs.token }}
181181

182182
- name: Update doc comment if necessary
183183
if: steps.find_comment.outputs.comment-id != '' && (github.event.action == 'reopened' || steps.find_comment.outputs.comment-body != steps.doc-comment.outputs.message)
184-
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1
184+
uses: peter-evans/create-or-update-comment@e8674b075228eee787fea43ef493e45ece1004c9 # v5.0.0
185185
with:
186186
comment-id: ${{ steps.find_comment.outputs.comment-id }}
187187
token: ${{ steps.auth.outputs.method == 'comment_bot_token' && secrets.comment_bot_token || steps.comment_bot_token.outputs.token }}

0 commit comments

Comments
 (0)