trstringer / manual-approval

Pause your GitHub Actions workflow and request manual approval from set approvers before continuing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add individual members in a github team/org

ashishjullia opened this issue · comments

Hi @trstringer

I'm not sure whether this is possible or not without a PAT but I want to add individual members under a particular org.

  • not complete org
  • not a team
  • but only a single member -> I'm not sure whether the action also works on members without considering them as a part of org/team
      - name: Manual Approval
        uses: trstringer/manual-approval@v1
        with:
          secret: ${{ secrets.GITHUB_TOKEN }}
          approvers: user1,user2,user3
          minimum-approvals: 1

I'm getting the following error:

Attempting to expand user <org-name>/<user1> as a group (may not succeed)
GET https://api.github.com/orgs/<org-name>/teams/<user1>/members: 404 Not Found []

Let me know if I'm missing something.

Any help is appreciated.

@trstringer I was able to solve the issue using a fine-grained PAT.