Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/agents-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -59,8 +59,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm --filter agents... build && pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/blake3-wasm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -56,8 +56,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/blob-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -56,8 +56,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dduf-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -59,8 +59,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gearhash-wasm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -56,8 +56,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gguf-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -64,8 +64,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/hub-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- run: pnpm publish --no-git-checks .

# hack - reuse actions/setup-node@v3 just to set a new registry
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/inference-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand Down Expand Up @@ -68,8 +68,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jinja-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -56,8 +56,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/languages-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -56,8 +56,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 10

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
with:
# Could use something like rmacklin/fetch-through-merge-base@v0 instead when the repo gets bigger
fetch-depth: 0
Expand All @@ -31,7 +31,7 @@ jobs:

- run: npm install -g corepack@latest && corepack enable

- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
node-version: "20"
cache: "pnpm"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mcp-client-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand Down Expand Up @@ -64,8 +64,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ollama-template-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
update-ollama-templates:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6
if: github.repository == 'huggingface/huggingface.js'

- name: Prepare
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:

- name: Create PR
if: steps.changes.outputs.HAS_CHANGES == 'true' && github.repository == 'huggingface/huggingface.js'
uses: actions/github-script@v6
uses: actions/github-script@v8
env:
CURRENT_DATE: ${{ steps.prepare.outputs.CURRENT_DATE }}
NEW_BRANCH: ${{ steps.changes.outputs.NEW_BRANCH }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ollama-utils-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ jobs:
version_and_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6
with:
# Needed to push the tag and the commit on the main branch, otherwise we get:
# > Run git push --follow-tags
# remote: error: GH006: Protected branch update failed for refs/heads/main.
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
token: ${{ secrets.BOT_ACCESS_TOKEN }}
- run: npm install -g corepack@latest && corepack enable
- uses: actions/setup-node@v4
- uses: actions/setup-node@v6
with:
node-version: "24"
cache: "pnpm"
Expand All @@ -59,8 +59,8 @@ jobs:
- run: (git pull --rebase && git push --follow-tags) || (git pull --rebase && git push --follow-tags)

- run: pnpm publish --no-git-checks .
# hack - reuse actions/setup-node@v4 just to set a new registry
- uses: actions/setup-node@v4
# hack - reuse actions/setup-node@v6 just to set a new registry
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
Expand Down
Loading