{"id":28089212,"url":"https://github.com/flydiverny/github-typescript","last_synced_at":"2025-10-24T12:15:14.511Z","repository":{"id":82108565,"uuid":"598300613","full_name":"Flydiverny/github-typescript","owner":"Flydiverny","description":"Write workflows scripting the GitHub API in TypeScript!","archived":false,"fork":false,"pushed_at":"2024-06-10T22:34:02.000Z","size":7721,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T22:37:31.518Z","etag":null,"topics":["actions","github-api","javascript","typescript"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Flydiverny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-06T20:27:19.000Z","updated_at":"2024-05-08T18:21:39.000Z","dependencies_parsed_at":"2023-12-14T10:41:43.725Z","dependency_job_id":"72470387-4137-417b-9d9d-7a4955411e51","html_url":"https://github.com/Flydiverny/github-typescript","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flydiverny%2Fgithub-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flydiverny%2Fgithub-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flydiverny%2Fgithub-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Flydiverny%2Fgithub-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Flydiverny","download_url":"https://codeload.github.com/Flydiverny/github-typescript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253948328,"owners_count":21988953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github-api","javascript","typescript"],"created_at":"2025-05-13T12:54:53.546Z","updated_at":"2025-10-24T12:15:09.467Z","avatar_url":"https://github.com/Flydiverny.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-typescript\n\n:warning: Note that this action currently only supports running on linux x64 runners.\n\nUsing [actions/github-script](https://github.com/actions/github-script) but missing typescript?\n\nEnter github-typescript! A wrapper that will quickly transpile your TypeScript and execute it using github-script.\n\nUsage example, create a `*.ts` or `*.mts` file in your and pass it in using `script-file`.\nThis will cause github-typescript to transpile to JS this and execute it using github-script like.\n\n```yaml\n- uses: flydiverny/github-typescript@v1\n  env:\n    INPUT_SOMETHING: \"Nice demo run\"\n  with:\n    script-file: .github/workflows/script.mts\n    # (...) all other inputs supported by github-script@v6 will be passed thru\n```\n\nIf you want to return a value you can export a default export and github-typescript will automatically run it for you.\nThe arguments to the default export below are also available as globals, like it is for inline github-scripts.\n\n```ts\nexport default async ({\n  require,\n  __original_require__,\n  github,\n  context,\n  core,\n  exec,\n  glob,\n  io,\n  fetch,\n}) =\u003e {\n  // My code here\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflydiverny%2Fgithub-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflydiverny%2Fgithub-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflydiverny%2Fgithub-typescript/lists"}