Skip to content

Commit 2b22555

Browse files
committed
Upgrade GitHub Actions to latest versions
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
1 parent 31cade7 commit 2b22555

9 files changed

Lines changed: 14 additions & 14 deletions

.github/workflows/accelerate_doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
ref: 16eb6d76bf987c7d8d877ce5152f2e29878eab37
2828

2929
- name: Install uv
30-
uses: astral-sh/setup-uv@v4
30+
uses: astral-sh/setup-uv@v7.2.0
3131
with:
3232
version: 'latest'
3333

.github/workflows/build_main_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
run: $ROOT_APT_GET install -y libgl1
141141

142142
- name: Install Rust
143-
uses: actions-rs/toolchain@v1
143+
uses: actions-rs/toolchain@v1.0.6
144144
if: inputs.install_rust
145145
with:
146146
toolchain: stable

.github/workflows/build_pr_documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
run: $ROOT_APT_GET install -y libgl1
144144

145145
- name: Install Rust
146-
uses: actions-rs/toolchain@v1
146+
uses: actions-rs/toolchain@v1.0.6
147147
if: inputs.install_rust
148148
with:
149149
toolchain: stable

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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@v7
50+
uses: peter-evans/create-pull-request@v8
5151
with:
5252
path: .
5353
token: ${{ secrets.TOKEN_INFERENCE_SYNC_BOT_DOC_BUILDER }}

.github/workflows/delete_old_pr_documentations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v4
16-
- uses: denoland/setup-deno@v1
16+
- uses: denoland/setup-deno@v2.0.3
1717
with:
1818
deno-version: v1.x
1919
- run: deno run --allow-env --allow-net --allow-run --allow-read ./delete-old-prs.ts

.github/workflows/populate_search_engine.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Install uv
22-
uses: astral-sh/setup-uv@v4
22+
uses: astral-sh/setup-uv@v7.2.0
2323
with:
2424
version: "latest"
2525

@@ -43,7 +43,7 @@ jobs:
4343
uses: actions/checkout@v4
4444

4545
- name: Install uv
46-
uses: astral-sh/setup-uv@v4
46+
uses: astral-sh/setup-uv@v7.2.0
4747
with:
4848
version: "latest"
4949

@@ -69,7 +69,7 @@ jobs:
6969
# uses: actions/checkout@v4
7070

7171
# - name: Install uv
72-
# uses: astral-sh/setup-uv@v4
72+
# uses: astral-sh/setup-uv@v7.2.0
7373
# with:
7474
# version: "latest"
7575

.github/workflows/quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
steps:
99
- uses: actions/checkout@v4
1010
- name: Install uv
11-
uses: astral-sh/setup-uv@v4
11+
uses: astral-sh/setup-uv@v7.2.0
1212
with:
1313
version: "latest"
1414
- name: Set up Python 3.10

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Install uv
15-
uses: astral-sh/setup-uv@v4
15+
uses: astral-sh/setup-uv@v7.2.0
1616
with:
1717
version: "latest"
1818
- name: Set up Python 3.10

.github/workflows/upload_pr_documentation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
doc-builder push ${{ inputs.package_name }} --doc_build_repo_id "hf-doc-build/doc-build-dev" --token "${{ secrets.hf_token }}" --commit_msg "Updated with commit ${{ steps.github-context.outputs.commit_sha }} See: https://github.com/${{ inputs.repo_owner }}/${{ inputs.package_name }}/commit/${{ steps.github-context.outputs.commit_sha }}"
100100
101101
- name: Find doc comment
102-
uses: peter-evans/find-comment@v2
102+
uses: peter-evans/find-comment@v4.0.0
103103
id: find_comment
104104
with:
105105
issue-number: ${{ steps.github-context.outputs.pr_number }}
@@ -120,14 +120,14 @@ jobs:
120120
- name: Create comment_bot token
121121
id: comment_bot_token
122122
if: steps.auth.outputs.method == 'github_app'
123-
uses: actions/create-github-app-token@v2
123+
uses: actions/create-github-app-token@v2.2.1
124124
with:
125125
app-id: ${{ secrets.comment_bot_app_id }}
126126
private-key: ${{ secrets.comment_bot_secret_pem }}
127127
repositories: ${{ github.event.repository.name }}
128128

129129
- name: Add doc comment if not present
130-
uses: thollander/actions-comment-pull-request@v2
130+
uses: thollander/actions-comment-pull-request@v3.0.1
131131
if: steps.find_comment.outputs.comment-id == ''
132132
with:
133133
message: 'The docs for this PR live [here](${{ steps.hfhub-context.outputs.hub_docs_url }}). All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.'
@@ -136,7 +136,7 @@ jobs:
136136

137137
- name: Update doc comment if necessary
138138
if: github.event.action == 'reopened' && steps.find_comment.outputs.comment-id != ''
139-
uses: peter-evans/create-or-update-comment@v1
139+
uses: peter-evans/create-or-update-comment@v5.0.0
140140
with:
141141
comment-id: ${{ steps.find_comment.outputs.comment-id }}
142142
token: ${{ steps.auth.outputs.method == 'comment_bot_token' && secrets.comment_bot_token || steps.comment_bot_token.outputs.token }}

0 commit comments

Comments
 (0)