From 82aef0389a866b3267b10610af115c9f6c5be346 Mon Sep 17 00:00:00 2001 From: Mark Collao <mark.collao@hashicorp.com> Date: Fri, 3 Nov 2023 10:36:59 -0500 Subject: [PATCH] add metadata to DependabotService.UpdateAlert --- github/dependabot_alerts.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/github/dependabot_alerts.go b/github/dependabot_alerts.go index b26c7c9fcd5..f1ed126c217 100644 --- a/github/dependabot_alerts.go +++ b/github/dependabot_alerts.go @@ -156,7 +156,9 @@ func (s *DependabotService) GetRepoAlert(ctx context.Context, owner, repo string // UpdateAlert updates a Dependabot alert. // -// GitHub API docs: https://docs.github.com/en/rest/dependabot/alerts?apiVersion=2022-11-28#update-a-dependabot-alert +// GitHub API docs: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert +// +//meta:operation PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number} func (s *DependabotService) UpdateAlert(ctx context.Context, owner, repo string, number int, stateInfo *DependabotAlertState) (*DependabotAlert, *Response, error) { url := fmt.Sprintf("repos/%v/%v/dependabot/alerts/%v", owner, repo, number) req, err := s.client.NewRequest("PATCH", url, stateInfo)