Skip to content

Commit

Permalink
debug28
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianCArnold committed Mar 16, 2023
1 parent 85c6aed commit 1351012
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function getTeamMembers(teamName) {
const context = get_context();
const octokit = get_octokit();
const members = yield octokit.teams.listMembersInOrg({
org: 'SpiderRock',
org: context.repo.owner,
team_slug: teamName
});
let teamMembers = [];
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "require-user-approval",
"version": "0.0.27",
"version": "0.0.28",
"description": "GitHub Action that automatically checks if a set of required users have approved the pull request.",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ async function getTeamMembers(teamName: string): Promise<string[]> {
const context = get_context();
const octokit = get_octokit();


const members = await octokit.teams.listMembersInOrg({
org: 'SpiderRock',
org: context.repo.owner,
team_slug: teamName
});

Expand Down

0 comments on commit 1351012

Please sign in to comment.