- Notifications
You must be signed in to change notification settings - Fork455
What permissions are required for github.rest.teams.listMembersInOrg?#481
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
-
I'm struggling to find what permissions are required to be able to make Currently configured permissions: permissions:contents:readpull-requests:write And the call in question: -name:Check for approvalsid:needs-approvalsuses:actions/github-script@v7with:github-token:${{ secrets.GITHUB_TOKEN }}script:| const { data: approvalTeamMembers } = await github.rest.teams.listMembersInOrg({ org: 'myorg', team_slug: 'myteam' }); console.debug(`Team members: ${approvalTeamMembers.map(member => member.login).join(', ')}`); |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
👋 This would require the The Actions |
BetaWas this translation helpful?Give feedback.