Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-wong-dfinity-org committed Jan 3, 2025
1 parent 84fa6e8 commit d935ea9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/governance_pull_request_template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,16 @@ jobs:
}
console.log("newBody = " + newBody);
console.log("\n\n");
console.log("Calling listMembersInOrg...")
console.log("\n\n");
const nnsTeamMembers = await github.rest.teams.listMembersInOrg({
org: "dfinity",
team_slug: "nns-team",
});
console.log("\n\n");
console.log("nnsTeamMemebrs = " + nnsTeamMembers);
console.log("\n\n");
const isInNnsTeam = nnsTeamMembers.data.some(member => member.login == context.actor);
console.log("Is actor in nns-team? " + isInNNsTeam);
Expand Down

0 comments on commit d935ea9

Please sign in to comment.