mirror of
https://github.com/status-im/open-bounty.git
synced 2025-01-13 11:06:18 +00:00
Take first issue number, please
This commit is contained in:
parent
b2f92e2f0e
commit
9e8ecd50a3
@ -65,7 +65,7 @@
|
||||
pr-body :body} :pull_request}]
|
||||
(future
|
||||
(let [commit-id (find-commit-id owner repo pr-number "merged")
|
||||
issue-number (extract-issue-number pr-body)
|
||||
issue-number (first (extract-issue-number pr-body))
|
||||
m {:commit_id commit-id :issue_number issue-number}]
|
||||
(when (or commit-id issue-number)
|
||||
(pull-requests/create (merge m {:repo_id repo-id
|
||||
|
Loading…
x
Reference in New Issue
Block a user