Add the issue link to the action output (#64)
Signed-off-by: Thomas Stringer <thomas@trstringer.com>
This commit is contained in:
parent
36a6b4b6cb
commit
a28646d113
1 changed files with 6 additions and 1 deletions
|
|
@ -77,8 +77,13 @@ Respond %s to continue workflow or %s to cancel.`,
|
|||
Body: &issueBody,
|
||||
Assignees: &a.issueApprovers,
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
a.approvalIssueNumber = a.approvalIssue.GetNumber()
|
||||
return err
|
||||
|
||||
fmt.Printf("Issue created: %s\n", a.approvalIssue.GetURL())
|
||||
return nil
|
||||
}
|
||||
|
||||
func approvalFromComments(comments []*github.IssueComment, approvers []string, minimumApprovals int) (approvalStatus, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue