Hugging Face adds Trusted Publishers: push to the Hub from CI with no HF_TOKEN secret

vanstriendaniel · x · 2026-11-24

Hugging Face launched Trusted Publishers (workflow identity federation), letting GitHub/GitLab/custom CI push to the Hub without storing HFTOKEN secrets—mirroring PyPI/npm trusted publishing. CI jobs can also read gated repos the user has access to. A developer shows syncing a GitHub repo to a HF Space on every merge to main.

Original post →

More from coding & agent

coding & agent channel →