Skip to content
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
source feedback repo from release event
Browse files Browse the repository at this point in the history
  • Loading branch information
thepwagner committed Nov 11, 2020
1 parent c07c691 commit 31f4416
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions actions/updateaction/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ func releaseDispatchOptions(evt *github.ReleaseEvent, feedbackIssue *github.Issu
Path: fmt.Sprintf("github.com/%s", evt.GetRepo().GetFullName()),
Next: evt.GetRelease().GetTagName(),
Feedback: RepoDispatchActionUpdatePayloadFeedback{
Owner: feedbackIssue.GetRepository().GetOwner().GetLogin(),
Name: feedbackIssue.GetRepository().GetName(),
Owner: evt.GetRepo().GetOwner().GetLogin(),
Name: evt.GetRepo().GetName(),
IssueNumber: feedbackIssue.GetNumber(),
},
})
Expand Down
2 changes: 1 addition & 1 deletion actions/updateaction/repositorydispatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func (h *handler) repoDispatchActionUpdate(ctx context.Context, evt *github.Repo
"version": update.Next,
"branch": branchName,
"feedback_owner": payload.Feedback.Owner,
"feedback_namer": payload.Feedback.Name,
"feedback_name": payload.Feedback.Name,
"feedback_issue": payload.Feedback.IssueNumber,
}).Debug("applying update from repository")
r, err := h.repo()
Expand Down

0 comments on commit 31f4416

Please sign in to comment.