-
Notifications
You must be signed in to change notification settings - Fork 541
Open
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.1has them;
The git-hosted package "@actions/github-script@7.0.1" needs to execute build scripts but is not in the "onlyBuiltDependencies" allowlist.github-scriptwants 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels