mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 05:56:26 +00:00
add current project id as sourceRepositoryId to fetch of pull requests to avoid that bot needs read permission to all pr source repositories
This commit is contained in:
parent
735ea20f85
commit
65d27f252a
1 changed files with 5 additions and 1 deletions
|
@ -259,7 +259,11 @@ export async function getPrList(): Promise<AzurePr[]> {
|
||||||
do {
|
do {
|
||||||
fetchedPrs = await azureApiGit.getPullRequests(
|
fetchedPrs = await azureApiGit.getPullRequests(
|
||||||
config.repoId,
|
config.repoId,
|
||||||
{ status: 4 },
|
{
|
||||||
|
status: 4,
|
||||||
|
// fetch only prs directly created on the repo and not by forks
|
||||||
|
sourceRepositoryId: config.project,
|
||||||
|
},
|
||||||
config.project,
|
config.project,
|
||||||
0,
|
0,
|
||||||
skip,
|
skip,
|
||||||
|
|
Loading…
Reference in a new issue