Skip to content

action lack permission to get pr info #45163

@gengjiawen

Description

@gengjiawen

https://github.com/nodejs/node/actions/runs/3318923655/jobs/5483440392

- Starting PR CI job
(node:[18](https://github.com/nodejs/node/actions/runs/3318923655/jobs/5483440392#step:6:19)70) [https://github.com/node-fetch/node-fetch/issues/1167] DeprecationWarning: form-data doesn't follow the spec and requires special treatment. Use alternative package
(Use `node --trace-deprecation ...` to show where the warning was created)
✔  PR CI job successfully started

[DEBUG] Error: GraphQL request Error: This endpoint requires you to be authenticated.
    at Request.query (file:///opt/hostedtoolcache/node/16.17.1/x64/lib/node_modules/node-core-utils/lib/request.js:1[19](https://github.com/nodejs/node/actions/runs/3318923655/jobs/5483440392#step:6:20):19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Request.gql (file:///opt/hostedtoolcache/node/16.17.1/x64/lib/node_modules/node-core-utils/lib/request.js:69:22)
    at async PRData.getPR (file:///opt/hostedtoolcache/node/16.17.1/x64/lib/node_modules/node-core-utils/lib/pr_data.js:80:[20](https://github.com/nodejs/node/actions/runs/3318923655/jobs/5483440392#step:6:21))
    at async RunPRJob.start (file:///opt/hostedtoolcache/node/16.17.1/x64/lib/node_modules/node-core-utils/lib/ci/run_ci.js:94:7) {
  data: { variables: { prid: 45162, owner: 'nodejs', repo: 'node' } }
}

cc @nodejs/actions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions