Skip to content

Commit d6e1866

Browse files
authored
Rename add_ghsa_summary_notes to update_ghsa_summary_notes
Renamed function to better reflect its purpose.
1 parent a678b71 commit d6e1866

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/seclab_taskflows/mcp_servers

src/seclab_taskflows/mcp_servers/ghsa.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,12 +296,12 @@ def store_new_ghsa_summary(
296296

297297

298298
@mcp.tool()
299-
def add_ghsa_summary_notes(
299+
def update_ghsa_summary_notes(
300300
owner: str = Field(description="The owner of the GitHub repository"),
301301
repo: str = Field(description="The name of the GitHub repository"),
302302
summary_notes: str = Field(description="New notes for the advisory summary", default=""),
303303
):
304-
"""Append notes to the GHSA summary for a repository."""
304+
"""Update summary notes for the GHSA summary for a repository."""
305305
repo_name = process_repo(owner, repo)
306306
existing = backend.get_ghsa_summary(repo_name)
307307
if not existing:

0 commit comments

Comments
 (0)