PATCH
github_dependabot_update_alert.py
from charter.packs import github
result = await github.dependabot_update_alert.ainvoke({"owner": ..., "repo": ..., "alertNumber": ...})
Requires
repo, read:user.Path parameters
| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
alertNumber * | integer | The number that identifies the alert in its repository — the number field on a listed alert, and the last segment of its URL. |
Body
| Field | Type | Description |
|---|---|---|
state | "dismissed" | "open" | The state of the Dependabot alert. A dismissed_reason must be provided when setting the state to dismissed. |
dismissedReason | DismissedReason | Required when state is dismissed. A reason for dismissing the alert. |
dismissedComment | string | An optional comment associated with dismissing the alert. max length 280 |
assignees | string[] | Usernames to assign to this Dependabot alert. Pass one or more user logins to replace the set of assignees on this alert. Send an empty array to clear all assignees. |