---
title: "Shipping huggingface_hub every week with AI, open tools, and a human in the loop"
description: "huggingface_hub moved from releases every 4-6 weeks to weekly releases driven by a single GitHub Actions workflow that automates versioning, tagging, PyPI publishing, downstream test branches, post-release bumps and Slack reporting, with an open-weights model (GLM via HF Inference Providers, run through OpenCode) drafting release notes and announcements."
url: "https://swe.quest/articles/shipping-huggingface-hub-every-week-with-ai-open-tools-and-a-human-in-the-loop-beb8acfe6f6762ac"
canonical: "https://huggingface.co/blog/huggingface-hub-release-ci"
source: "Hugging Face"
published: "2026-06-23"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["ci-cd","deployment","ai-agents","supply-chain-security","python"]
---

# Shipping huggingface\_hub every week with AI, open tools, and a human in the loop

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-06-23, 10 min read, Case study. Original: [https://huggingface.co/blog/huggingface-hub-release-ci](https://huggingface.co/blog/huggingface-hub-release-ci)

## Summary

huggingface\_hub moved from releases every 4-6 weeks to weekly releases driven by a single GitHub Actions workflow that automates versioning, tagging, PyPI publishing, downstream test branches, post-release bumps and Slack reporting, with an open-weights model (GLM via HF Inference Providers, run through OpenCode) drafting release notes and announcements. The key pattern wraps the model in deterministic guardrails: a script extracts PR numbers from squash-merge commits as a manifest, diffs it against PRs referenced in the draft, and re-prompts the agent to fix missing or extra entries. The model is grounded with docs diffs from each PR, and a human edits the draft before promoting the RC. Publishing uses PyPI Trusted Publishing with OIDC and Sigstore attestations plus a checksum-pinned agent runtime, and each release costs about $0.25 in inference.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Supply chain security](https://swe.quest/tags/supply-chain-security.md) (Security)
- [Python](https://swe.quest/tags/python.md) (Languages)

## Prerequisites

- GitHub Actions workflows ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))
- Python packaging and PyPI ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))
- LLM prompting basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))

## Keywords

huggingface\_hub, GitHub Actions, OpenCode, GLM-5.2, HF Inference Providers, PyPI Trusted Publishing, Sigstore, OIDC

## Related posts

- [huggingface\_hub v1.0: Five Years of Building the Foundation of Open Machine Learning](https://swe.quest/articles/huggingface-hub-v1-0-five-years-of-building-the-foundation-of-open-machine-2c4a77895f6727a3.md): Hugging Face · 2025-10-27 · Easy · 9 min read · Python, ML platforms, Open source, Developer tools
  huggingface\_hub reaches v1.0 after five years, with breaking changes.
- [Automating cross-repo documentation with GitHub Agentic Workflows](https://swe.quest/articles/automating-cross-repo-documentation-with-github-agentic-workflows-e38fd8e813d70616.md): GitHub Engineering · 2026-07-08 · Medium · 9 min read · AI agents, Documentation, CI/CD, Supply chain security, Developer productivity
  Aspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer.
- [Continuous AI for accessibility: How GitHub transforms feedback into inclusion](https://swe.quest/articles/continuous-ai-for-accessibility-how-github-transforms-feedback-into-inclusion-c36ff177f3a2d142.md): GitHub Engineering · 2026-03-12 · Medium · 14 min read · Accessibility, AI agents, LLMs, CI/CD
  GitHub built an event-driven accessibility feedback pipeline on GitHub Actions, Copilot and the GitHub Models API that turns every user report into a tracked, prioritized issue.
- [Beyond the Chatbot: Event-Driven Agents in Action](https://swe.quest/articles/beyond-the-chatbot-event-driven-agents-in-action-fe3eb0d5f18a275b.md): Docker · 2025-07-28 · Medium · 9 min read · AI agents, Event-driven architecture, TypeScript, LLMs, Containers
  A GitHub webhook-triggered agent workflow automatically detects "I finished the tutorial" pull requests on Docker's sample repos, generates an encouraging comment, and closes them without any chat interface.
- [The 5 Most Under-Rated Tools on Hugging Face](https://swe.quest/articles/the-5-most-under-rated-tools-on-hugging-face-d4091b1b4c6dbb61.md): Hugging Face · 2024-08-22 · Medium · 16 min read · ML platforms, Search, Data pipelines, Python
  Five overlooked Hugging Face Hub features (ZeroGPU, multi-process Docker Spaces, the Gradio API client, Hub webhooks and Nomic Atlas) can be combined into a free, automatically updating semantic search pipeline, demonstrated over a subreddit data source.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
