Skip to content

@types/github-script install fails in github action in dependabot pr's #487

@Quintisimo

Description

@Quintisimo

Describe the bug
When npm dependencies are being installed in a github action in a dependabot pr, it fails on @types/github-script with a permission denied error. I am using pnpm but I would assume this error occurs in all package managers.

To Reproduce
Steps to reproduce the behavior:

  1. Install @types/github-script
  2. Add a github action to run pnpm install
  3. Wait for dependabot to create a pr and run pnpm install in github action
  4. See error

Expected behavior
The install is successful

Screenshots
CleanShot 2024-09-17 at 10 58 32@2x

Desktop (please complete the following information):

  • OS: linux

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