Skip to content
Recued
Menu
← Back to recipes

Create a Hugging Face repo discussion

by recued-core v1

Approval-gated Hugging Face workflow for creating one repository discussion or pull request discussion. It reads existing discussions first, then calls recued-core.huggingface.discussion.create with an explicit repository type, namespace, repository, title, and description. It does not comment, merge, pin, change status, create commits, create repositories, mutate settings, or call arbitrary Hugging Face routes.

How it works 13 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (13 steps)
normalized_repo_type trim
Trim whitespace from setting repo type
normalized_namespace trim
Trim whitespace from setting namespace
normalized_repo trim
Trim whitespace from setting repo
normalized_title trim
Trim whitespace from setting title
normalized_description trim
Trim whitespace from setting description
normalized_reason trim
Trim whitespace from setting reason
existing_discussions_raw ?
create_discussion ?
existing_discussions default
Apply default
existing_count count
Count items in existing discussions
discussion_rows slice
Take a subset of
discussion_table to_table
Format results as a data table
card to_summary
Format results as a summary card
Settings 8 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

repo setting =
title setting =
reason setting =
namespace setting =
repo type setting = models
description setting =
huggingface setting =
pull request setting = false

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Where it runs

Device + server Runs on your device (browser) or your server.

Permissions it requires

Read your Huggingface connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

About

Tags

huggingface huggingfacediscussionmodelsdatasetsspacesapprovalpack:huggingface

Details

13 steps 8 configurable settings recipe_id: create-huggingface-repo-discussion