Skip to content

Commit

Permalink
v4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
skymoore committed Feb 10, 2024
1 parent ec09d4a commit 21d7d7b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8879,7 +8879,6 @@ async function getUserTeams(username, orgName, orgTeams, octokit) {
const teams = [];

for (const team of orgTeams) {
console.log()
const { data: teamMembers } = await octokit.teams.listMembersInOrg({
org: orgName,
team_slug: team.slug,
Expand Down Expand Up @@ -8927,7 +8926,11 @@ async function main() {
const [owner, repoName] = ghRepo.split("/");
const repo = await octokit.repos.get({ owner, repo: repoName });

const { data: orgTeams } = await readOrgOctokit.teams.list({ org: orgName });
const orgTeams = await readOrgOctokit.paginate(
readOrgOctokit.teams.list,
{ org: orgName },
(response) => response.data
);

let prNumber;
if (process.env["INPUT_BRANCH"] && process.env["INPUT_BRANCH"] !== "") {
Expand Down

0 comments on commit 21d7d7b

Please sign in to comment.