Skip to content

Commit

Permalink
Merge pull request #5 from apb7/change-get-pr-per-page
Browse files Browse the repository at this point in the history
Improving the dev workflow: Change default value of per_page option
  • Loading branch information
kevinlee12 committed Jun 22, 2018
2 parents a425388 + 8f7ff89 commit a387b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -179,7 +179,7 @@ module.exports = (robot) => {
var checkMergeConflicts = async function(context) {
var mergeConflictLabel = ['PR: don\'t merge - HAS MERGE CONFLICTS'];
pullRequestsPromiseObj = await context.github.pullRequests.getAll(
context.repo());
context.repo({per_page: 40}));

arrayOfOpenPullRequests = pullRequestsPromiseObj.data;
var hasMergeConflictLabel;
Expand Down

0 comments on commit a387b62

Please sign in to comment.