Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Allow using types without initializing entire package #699

Open
@ConcernedHobbit

Description

As a developer, I want to use github-script in my CI workflow. With large scripts, it becomes necessary to move from inline usage to importing from a separate file (i.e. script.ts). When developing, I want to make sure type safety is followed, so I want to import the typing provided by github-script.

github-script has multiple issues that make this nearly impossible in my dev environment:

  • I don't allow install scripts, but @actions/github-script@7.0.1 has them;
The git-hosted package "@actions/github-script@7.0.1" needs to execute build scripts but is not in the "onlyBuiltDependencies" allowlist.
  • github-script wants node>=24. I'm in the process of upgrading the environment, but there are some blockers. If I only want types, I shouldn't need node>=24.

Could the types be released as a separate package, making it easier to develop github-script CI flows without having to trust a blackbox install scripts or having the latest node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /