MCPcopy Index your code
hub / github.com/cli/cli / dirtyExcludingLabels

Function dirtyExcludingLabels

pkg/cmd/pr/shared/editable_http.go:142–150  ·  view source on GitHub ↗
(e Editable)

Source from the content-addressed store, hash-verified

140}
141
142func dirtyExcludingLabels(e Editable) bool {
143 return e.Title.Edited ||
144 e.Body.Edited ||
145 e.Base.Edited ||
146 e.Reviewers.Edited ||
147 e.Assignees.Edited ||
148 e.Projects.Edited ||
149 e.Milestone.Edited
150}
151
152func addLabels(httpClient *http.Client, id string, repo ghrepo.Interface, labels []string) error {
153 params := githubv4.AddLabelsToLabelableInput{

Callers 1

UpdateIssueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected