mirror of
https://github.com/stoatchat/action-git-town.git
synced 2026-06-30 21:47:56 -04:00
+10
-2
@@ -175,7 +175,11 @@ export const inputs = {
|
||||
state: 'open',
|
||||
per_page: 100,
|
||||
},
|
||||
(response) => response.data.map(toPullRequest)
|
||||
/* eslint-disable -- go away */
|
||||
(response) => response.data
|
||||
.filter(pr => pr.head.repo?.full_name === pr.base.repo.full_name)
|
||||
.map(toPullRequest)
|
||||
/* eslint-enable */
|
||||
),
|
||||
|
||||
octokit.paginate(
|
||||
@@ -192,7 +196,11 @@ export const inputs = {
|
||||
done()
|
||||
}
|
||||
|
||||
return response.data.map(toPullRequest)
|
||||
/* eslint-disable -- go away */
|
||||
return response.data
|
||||
.filter(pr => pr.head.repo?.full_name === pr.base.repo.full_name)
|
||||
.map(toPullRequest)
|
||||
/* eslint-enable */
|
||||
}
|
||||
),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user