Title: Allow using types without initializing entire package · Issue #699 · actions/github-script · GitHub
Open Graph Title: Allow using types without initializing entire package · Issue #699 · actions/github-script
X Title: Allow using types without initializing entire package · Issue #699 · actions/github-script
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 fol...
Open Graph 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...
X 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...
Opengraph URL: https://github.com/actions/github-script/issues/699
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow using types without initializing entire package","articleBody":"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 `import`ing 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.\n\ngithub-script has multiple issues that make this nearly impossible in my dev environment:\n- I don't allow install scripts, but `@actions/github-script@7.0.1` has them;\n```bash\nThe git-hosted package \"@actions/github-script@7.0.1\" needs to execute build scripts but is not in the \"onlyBuiltDependencies\" allowlist.\n```\n- `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.\n\nCould 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.\n","author":{"url":"https://github.com/ConcernedHobbit","@type":"Person","name":"ConcernedHobbit"},"datePublished":"2026-02-09T13:28:52Z","url":"https://github.com/actions/github-script/issues/699"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e57dc387-0b0c-e81d-a311-4515143604ad |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C388:D1D28:B5B706:F1ACBF:6B01C343 |
| html-safe-nonce | 6a871dd9fadb2640f65cdc0e06b17c3b64670e15a6ec2191cbac38327bafc11c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzg4OkQxRDI4OkI1QjcwNjpGMUFDQkY6NkIwMUMzNDMiLCJ2aXNpdG9yX2lkIjoiNjA0MzIyMzA2MjYzODM0NzA3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72b297e200865c5b8afe1e49c80159b41195036e3304a42a308fb3fa4548a47e |
| hovercard-subject-tag | issue:3916394947 |
| github-keyboard-shortcuts | repository,issues,actions,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/actions/github-script/699/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0c0bdd0f0a47bf89039024a1fae4a703669b8efa85bdf4ccba9c2d98d5715ac3/actions/github-script/issues/699 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0c0bdd0f0a47bf89039024a1fae4a703669b8efa85bdf4ccba9c2d98d5715ac3/actions/github-script/issues/699 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ConcernedHobbit |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/actions/github-script git https://github.com/actions/github-script.git |
| octolytics-dimension-user_id | 44036562 |
| octolytics-dimension-user_login | actions |
| octolytics-dimension-repository_id | 205262760 |
| octolytics-dimension-repository_nwo | actions/github-script |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 205262760 |
| octolytics-dimension-repository_network_root_nwo | actions/github-script |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width