Contributor tools searches from all PRs (#42630)
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
const { Octokit } = require('@octokit/rest');
|
const { Octokit } = require('@octokit/rest');
|
||||||
|
|
||||||
const {
|
const {
|
||||||
github: { owner, secret, freeCodeCampRepo, defaultBase }
|
github: { owner, secret, freeCodeCampRepo }
|
||||||
} = require('../../../lib/config');
|
} = require('../../../lib/config');
|
||||||
|
|
||||||
const getPRs = async () => {
|
const getPRs = async () => {
|
||||||
@ -11,7 +11,6 @@ const getPRs = async () => {
|
|||||||
const methodProps = {
|
const methodProps = {
|
||||||
owner,
|
owner,
|
||||||
repo: freeCodeCampRepo,
|
repo: freeCodeCampRepo,
|
||||||
base: defaultBase,
|
|
||||||
state: 'open',
|
state: 'open',
|
||||||
sort: 'created',
|
sort: 'created',
|
||||||
direction: 'asc',
|
direction: 'asc',
|
||||||
|
Reference in New Issue
Block a user