MCP server for tangled

validate labels before creating issue #2

merged opened by zzstoatzz.io targeting main from fix/validate-labels-before-issue-creation

closes #7

Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:xbtmt2zjwlrfegqvch7fboei/sh.tangled.repo.pull/3m3t42doqn422
+4
Diff #0
+4
src/tangled_mcp/_tangled/_issues.py
··· 79 79 80 80 next_issue_id = max_issue_id + 1 81 81 82 + # validate labels BEFORE creating the issue to prevent orphaned issues 83 + if labels: 84 + _validate_labels(labels, repo_labels) 85 + 82 86 # generate timestamp ID for rkey 83 87 tid = int(datetime.now(timezone.utc).timestamp() * 1000000) 84 88 rkey = str(tid)

History

1 round 0 comments
sign up or login to add to the discussion
zzstoatzz.io submitted #0
1 commit
expand
validate labels before creating issue
expand 0 comments
pull request successfully merged