Skip to content

Getting "Security review check failed: Validation Failed: "Could not resolve to a node with the global id of '<node-id>'" when requesting reviews from a team in Action Script #572

Closed
@adamlahbib

Description

@adamlahbib

Getting "Security review check failed: Validation Failed: "Could not resolve to a node with the global id of ''" when requesting reviews from a team in Action Script

await github.rest.pulls.requestReviewers({
    owner: context.repo.owner,
    repo: context.repo.repo,
    pull_number: context.issue.number,
    team_reviewers: [teamSlug]
});

Team exists and have the correct node-id, is also closed in privacy so not a secret team.

In the scoped pipeline permissions I also set pull-requests to write.

Any idea how to fix this?

Perhaps this is relevant? rowi1de/auto-assign-review-teams#17 (comment)

and is there a way to achieve it without a PAT?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionA question on how to use this action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions