Skip to content

Commit 79e6066

Browse files
committed
review comments incorporated
1 parent 446c5e3 commit 79e6066

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

github/actions_required_workflows.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,11 +98,13 @@ func (s *ActionsService) CreateRequiredWorkflow(ctx context.Context, org string,
9898
if err != nil {
9999
return nil, nil, err
100100
}
101+
101102
orgRequiredWorkflow := new(OrgRequiredWorkflow)
102103
resp, err := s.client.Do(ctx, req, orgRequiredWorkflow)
103104
if err != nil {
104105
return nil, resp, err
105106
}
107+
106108
return orgRequiredWorkflow, resp, nil
107109
}
108110

@@ -135,11 +137,13 @@ func (s *ActionsService) UpdateRequiredWorkflow(ctx context.Context, org string,
135137
if err != nil {
136138
return nil, nil, err
137139
}
140+
138141
orgRequiredWorkflow := new(OrgRequiredWorkflow)
139142
resp, err := s.client.Do(ctx, req, orgRequiredWorkflow)
140143
if err != nil {
141144
return nil, resp, err
142145
}
146+
143147
return orgRequiredWorkflow, resp, nil
144148
}
145149

0 commit comments

Comments
 (0)