Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
security: persist-credentials:false on every actions/checkout (org-wide sweep) (#5413)
Daniel Han05d6a2f3ae42
diff --git a/.github/workflows/consolidated-tests-ci.yml b/.github/workflows/consolidated-tests-ci.ymlindex 0f6f89d3540..f035dcd1247 100644--- a/.github/workflows/consolidated-tests-ci.yml+++ b/.github/workflows/consolidated-tests-ci.yml@@ -121,6 +121,8 @@ jobs:UNSLOTH_IS_PRESENT: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -2013,6 +2015,8 @@ jobs:UNSLOTH_IS_PRESENT: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:diff --git a/.github/workflows/lint-ci.yml b/.github/workflows/lint-ci.ymlindex 49b7f7d9b2d..00e6e357e28 100644--- a/.github/workflows/lint-ci.yml+++ b/.github/workflows/lint-ci.yml@@ -44,6 +44,8 @@ jobs:timeout-minutes: 5steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:diff --git a/.github/workflows/mlx-ci.yml b/.github/workflows/mlx-ci.ymlindex 4cabfd01f54..8cd95bd30ad 100644--- a/.github/workflows/mlx-ci.yml+++ b/.github/workflows/mlx-ci.yml@@ -100,6 +100,8 @@ jobs:egress-policy: audit- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:diff --git a/.github/workflows/notebooks-ci.yml b/.github/workflows/notebooks-ci.ymlindex 587f27ea6dc..0881c5ef3a0 100644--- a/.github/workflows/notebooks-ci.yml+++ b/.github/workflows/notebooks-ci.yml@@ -88,6 +88,7 @@ jobs:uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:path: unsloth+ persist-credentials: false- name: Checkout unslothai/notebooks @ ${{ env.NOTEBOOKS_REF }}uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2@@ -96,6 +97,7 @@ jobs:ref: ${{ env.NOTEBOOKS_REF }}path: notebooksfetch-depth: 0 # drift check needs git status / diff+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -196,12 +198,15 @@ jobs:exit 1fi- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: falsewith: { path: unsloth }- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:repository: unslothai/notebooksref: ${{ env.NOTEBOOKS_REF }}path: notebooks+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with: { python-version: '3.12', cache: 'pip' }- name: Install@@ -239,12 +244,15 @@ jobs:exit 1fi- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: falsewith: { path: unsloth }- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:repository: unslothai/notebooksref: ${{ env.NOTEBOOKS_REF }}path: notebooks+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with: { python-version: '3.12', cache: 'pip' }@@ -342,12 +350,15 @@ jobs:exit 1fi- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: falsewith: { path: unsloth }- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2with:repository: unslothai/notebooksref: ${{ env.NOTEBOOKS_REF }}path: notebooks+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with: { python-version: '3.12' }diff --git a/.github/workflows/release-desktop.yml b/.github/workflows/release-desktop.ymlindex fbfeece614d..810bb644baf 100644--- a/.github/workflows/release-desktop.yml+++ b/.github/workflows/release-desktop.yml@@ -36,6 +36,8 @@ jobs:steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd+ with:+ persist-credentials: false- name: Validate release versionsid: prepare@@ -343,6 +345,8 @@ jobs:egress-policy: audit- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd+ with:+ persist-credentials: false# ── Linux dependencies ──- name: Install Linux dependenciesdiff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.ymlindex f739e852fd7..235fde5253d 100644--- a/.github/workflows/security-audit.yml+++ b/.github/workflows/security-audit.yml@@ -127,6 +127,7 @@ jobs:# Full history so TruffleHog can diff base..head; without# this it sees only the latest commit and reports nothing.fetch-depth: 0+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -722,6 +723,8 @@ jobs:files.pythonhosted.org:443- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -893,6 +896,8 @@ jobs:registry.npmjs.org:443- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -963,6 +968,8 @@ jobs:files.pythonhosted.org:443- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -998,6 +1005,8 @@ jobs:files.pythonhosted.org:443- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -1052,6 +1061,7 @@ jobs:# Need the base commit accessible for `git show# <base-sha>:studio/frontend/package-lock.json` below.fetch-depth: 0+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-api-smoke.yml b/.github/workflows/studio-api-smoke.ymlindex 668111d1dc8..29f056eca40 100644--- a/.github/workflows/studio-api-smoke.yml+++ b/.github/workflows/studio-api-smoke.yml@@ -51,6 +51,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Linux depsrun: |diff --git a/.github/workflows/studio-backend-ci.yml b/.github/workflows/studio-backend-ci.ymlindex 59cd3a5685e..63eb70f7f10 100644--- a/.github/workflows/studio-backend-ci.yml+++ b/.github/workflows/studio-backend-ci.yml@@ -53,6 +53,8 @@ jobs:python: ['3.10', '3.11', '3.12', '3.13']steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:@@ -106,6 +108,8 @@ jobs:timeout-minutes: 15steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:diff --git a/.github/workflows/studio-frontend-ci.yml b/.github/workflows/studio-frontend-ci.ymlindex 5c5405c6048..a93cdb86612 100644--- a/.github/workflows/studio-frontend-ci.yml+++ b/.github/workflows/studio-frontend-ci.yml@@ -36,6 +36,8 @@ jobs:working-directory: studio/frontendsteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false# FIXME: drop this step once @assistant-ui/* and assistant-stream# leave 0.x -- on 1.x, caret ranges are conventional. Until then,diff --git a/.github/workflows/studio-inference-smoke.yml b/.github/workflows/studio-inference-smoke.ymlindex 922d883cc9d..ea14e4f5d51 100644--- a/.github/workflows/studio-inference-smoke.yml+++ b/.github/workflows/studio-inference-smoke.yml@@ -67,6 +67,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Linux deps for llama.cpp prebuiltrun: |@@ -315,6 +317,8 @@ jobs:STUDIO_PORT: '18889'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Linux deps for llama.cpp prebuiltrun: |@@ -632,6 +636,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Linux deps for llama.cpp prebuiltrun: |diff --git a/.github/workflows/studio-mac-api-smoke.yml b/.github/workflows/studio-mac-api-smoke.ymlindex 6a98776fa3c..aa7a6164133 100644--- a/.github/workflows/studio-mac-api-smoke.yml+++ b/.github/workflows/studio-mac-api-smoke.yml@@ -44,6 +44,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-mac-inference-smoke.yml b/.github/workflows/studio-mac-inference-smoke.ymlindex 82438f0c271..817f6b2a29a 100644--- a/.github/workflows/studio-mac-inference-smoke.yml+++ b/.github/workflows/studio-mac-inference-smoke.yml@@ -67,6 +67,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:@@ -315,6 +317,8 @@ jobs:STUDIO_PORT: '18898'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:@@ -680,6 +684,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-mac-ui-smoke.yml b/.github/workflows/studio-mac-ui-smoke.ymlindex df3654277f3..28a9fc6d1d2 100644--- a/.github/workflows/studio-mac-ui-smoke.yml+++ b/.github/workflows/studio-mac-ui-smoke.yml@@ -44,6 +44,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-mac-update-smoke.yml b/.github/workflows/studio-mac-update-smoke.ymlindex 2733fef1d15..dd2333251a8 100644--- a/.github/workflows/studio-mac-update-smoke.yml+++ b/.github/workflows/studio-mac-update-smoke.yml@@ -46,6 +46,8 @@ jobs:timeout-minutes: 30steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-tauri-smoke.yml b/.github/workflows/studio-tauri-smoke.ymlindex 5254ef39c52..159d5dbbe61 100644--- a/.github/workflows/studio-tauri-smoke.yml+++ b/.github/workflows/studio-tauri-smoke.yml@@ -40,6 +40,8 @@ jobs:timeout-minutes: 25steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Linux native deps for Tauri / WebKit2GTKrun: |diff --git a/.github/workflows/studio-ui-smoke.yml b/.github/workflows/studio-ui-smoke.ymlindex 82496c3665f..1f3a5a8594e 100644--- a/.github/workflows/studio-ui-smoke.yml+++ b/.github/workflows/studio-ui-smoke.yml@@ -52,6 +52,8 @@ jobs:HF_HOME: ${{ github.workspace }}/hf-cachesteps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Linux depsrun: |diff --git a/.github/workflows/studio-update-smoke.yml b/.github/workflows/studio-update-smoke.ymlindex 574b447a943..624001142a0 100644--- a/.github/workflows/studio-update-smoke.yml+++ b/.github/workflows/studio-update-smoke.yml@@ -40,6 +40,8 @@ jobs:timeout-minutes: 15steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- name: Linux deps for llama.cpp prebuiltrun: |diff --git a/.github/workflows/studio-windows-api-smoke.yml b/.github/workflows/studio-windows-api-smoke.ymlindex fd80377352f..86a07b41e5a 100644--- a/.github/workflows/studio-windows-api-smoke.yml+++ b/.github/workflows/studio-windows-api-smoke.yml@@ -52,6 +52,8 @@ jobs:PYTHONUTF8: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-windows-inference-smoke.yml b/.github/workflows/studio-windows-inference-smoke.ymlindex 13bd8e58e25..bc13ec81994 100644--- a/.github/workflows/studio-windows-inference-smoke.yml+++ b/.github/workflows/studio-windows-inference-smoke.yml@@ -62,6 +62,8 @@ jobs:PYTHONUTF8: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:@@ -388,6 +390,8 @@ jobs:PYTHONUTF8: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:@@ -796,6 +800,8 @@ jobs:PYTHONUTF8: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-windows-ui-smoke.yml b/.github/workflows/studio-windows-ui-smoke.ymlindex 6ee262163b8..90fce0558bf 100644--- a/.github/workflows/studio-windows-ui-smoke.yml+++ b/.github/workflows/studio-windows-ui-smoke.yml@@ -57,6 +57,8 @@ jobs:PYTHONUTF8: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/studio-windows-update-smoke.yml b/.github/workflows/studio-windows-update-smoke.ymlindex c16edc5aff6..0303bc746dc 100644--- a/.github/workflows/studio-windows-update-smoke.yml+++ b/.github/workflows/studio-windows-update-smoke.yml@@ -58,6 +58,8 @@ jobs:PYTHONUTF8: '1'steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with:diff --git a/.github/workflows/version-compat-ci.yml b/.github/workflows/version-compat-ci.ymlindex b14a759916c..1ebea810661 100644--- a/.github/workflows/version-compat-ci.yml+++ b/.github/workflows/version-compat-ci.yml@@ -58,6 +58,8 @@ jobs:timeout-minutes: 12steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'@@ -83,6 +85,8 @@ jobs:timeout-minutes: 10steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'@@ -107,6 +111,8 @@ jobs:timeout-minutes: 8steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'@@ -129,6 +135,8 @@ jobs:timeout-minutes: 8steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'@@ -151,6 +159,8 @@ jobs:timeout-minutes: 8steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'@@ -173,6 +183,8 @@ jobs:timeout-minutes: 12steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'@@ -200,6 +212,8 @@ jobs:timeout-minutes: 15steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: falsewith: { path: unsloth }- name: Clone unsloth-zoo @ mainrun: |@@ -279,6 +293,8 @@ jobs:timeout-minutes: 20steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0with:python-version: '3.12'diff --git a/.github/workflows/wheel-smoke.yml b/.github/workflows/wheel-smoke.ymlindex a2d5d650e29..464a8e324a6 100644--- a/.github/workflows/wheel-smoke.yml+++ b/.github/workflows/wheel-smoke.yml@@ -42,6 +42,8 @@ jobs:timeout-minutes: 15steps:- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2+ with:+ persist-credentials: false- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0with: