mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-07-09 09:30:41 -07:00
temp: limit 2 for ci test
This commit is contained in:
@@ -79,7 +79,7 @@ module.exports = async ({ github, context, core }) => {
|
||||
async function processItems(query, callback) {
|
||||
core.info(`Searching: ${query}`);
|
||||
try {
|
||||
const items = await github.paginate(
|
||||
let items = await github.paginate(
|
||||
github.rest.search.issuesAndPullRequests,
|
||||
{
|
||||
q: query,
|
||||
@@ -88,6 +88,7 @@ module.exports = async ({ github, context, core }) => {
|
||||
order: 'asc',
|
||||
},
|
||||
);
|
||||
items = items.slice(0, 2);
|
||||
core.info(`Found ${items.length} items.`);
|
||||
for (const item of items) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user