Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27664,7 +27664,7 @@ const generateScope = async ({ octokit, orgs, scope, maxRequestInParallel }) =>
// Check if the org is already in scope and then filter the new repos
if (scope[platform][org]) {
// @TODO: Ensure that the included and excluded are covered by JSON Schemas
newReposInScope = organizationRepos[org].filter(repo => !scope[platform][org].includes(repo) && !scope[platform][org].excluded.includes(repo))
newReposInScope = organizationRepos[org].filter(repo => !scope[platform][org].included.includes(repo) && !scope[platform][org].excluded.includes(repo))
}

// Try the new repos against the API and filter the ones that have a score (and respect the http request limits)
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const generateScope = async ({ octokit, orgs, scope, maxRequestInParallel }) =>
// Check if the org is already in scope and then filter the new repos
if (scope[platform][org]) {
// @TODO: Ensure that the included and excluded are covered by JSON Schemas
newReposInScope = organizationRepos[org].filter(repo => !scope[platform][org].includes(repo) && !scope[platform][org].excluded.includes(repo))
newReposInScope = organizationRepos[org].filter(repo => !scope[platform][org].included.includes(repo) && !scope[platform][org].excluded.includes(repo))
}

// Try the new repos against the API and filter the ones that have a score (and respect the http request limits)
Expand Down